|
@@ -369,7 +369,7 @@ discard block |
|
|
block discarded – undo |
|
369
|
369
|
} |
|
370
|
370
|
} |
|
371
|
371
|
|
|
372
|
|
- var tsk_geojson = Cesium.loadJson("<?php print $globalURL; ?>/tsk-geojson.php?tsk=<?php print filter_input(INPUT_GET,'tsk',FILTER_SANITIZE_URL); ?>"); |
|
|
372
|
+ var tsk_geojson = Cesium.loadJson("<?php print $globalURL; ?>/tsk-geojson.php?tsk=<?php print filter_input(INPUT_GET, 'tsk', FILTER_SANITIZE_URL); ?>"); |
|
373
|
373
|
tsk_geojson.then(function(geojsondata) { |
|
374
|
374
|
tsk = new Cesium.CustomDataSource('tsk'); |
|
375
|
375
|
for (var i =0;i < geojsondata.features.length; i++) { |
|
@@ -456,7 +456,7 @@ discard block |
|
|
block discarded – undo |
|
456
|
456
|
<?php |
|
457
|
457
|
if (isset($_COOKIE['lastcentercoord']) || (isset($globalCenterLatitude) && isset($globalCenterLongitude) && $globalCenterLatitude != '' && $globalCenterLongitude != '')) { |
|
458
|
458
|
if (isset($_COOKIE['lastcentercoord'])) { |
|
459
|
|
- $lastcentercoord = explode(',',$_COOKIE['lastcentercoord']); |
|
|
459
|
+ $lastcentercoord = explode(',', $_COOKIE['lastcentercoord']); |
|
460
|
460
|
if (!isset($lastcentercoord[3])) $zoom = $lastcentercoord[2]*1000000.0; |
|
461
|
461
|
else $zoom = $lastcentercoord[3]; |
|
462
|
462
|
$viewcenterlatitude = $lastcentercoord[0]; |
Please login to merge, or discard this patch.