1
0
mirror of git://f0xx.org/ac/ac-be-hub synced 2026-08-09 20:59:23 +03:00

feat(globe3d=11): pp/pe pole and limb lens pinch URL params

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-08-05 21:20:37 +02:00
parent 0f09f235a7
commit 0c447728d4
2 changed files with 19 additions and 9 deletions

View File

@@ -257,7 +257,7 @@ function hub_h(string $s): string {
var globe3dVersion = globe3dRaw === null || globe3dRaw === '' ? 1 : parseInt(globe3dRaw, 10);
if (!isFinite(globe3dVersion)) globe3dVersion = 1;
var globeLandZoom = {};
['latf', 'lngf', 'zy', 'zx'].forEach(function (key) {
['latf', 'lngf', 'zy', 'zx', 'pp', 'pe'].forEach(function (key) {
var raw = params.get(key);
if (raw === null || raw === '') return;
var n = parseFloat(raw);