@@ -399,7 +399,7 @@ discard block |
||
399 | 399 | break; |
400 | 400 | } |
401 | 401 | } |
402 | - var tsk_geojson = Cesium.Resource.fetchJson("<?php print $globalURL; ?>/tsk-geojson.php?tsk=<?php print filter_input(INPUT_GET,'tsk',FILTER_SANITIZE_URL); ?>"); |
|
402 | + var tsk_geojson = Cesium.Resource.fetchJson("<?php print $globalURL; ?>/tsk-geojson.php?tsk=<?php print filter_input(INPUT_GET, 'tsk', FILTER_SANITIZE_URL); ?>"); |
|
403 | 403 | tsk_geojson.then(function(geojsondata) { |
404 | 404 | tsk = new Cesium.CustomDataSource('tsk'); |
405 | 405 | for (var i =0;i < geojsondata.features.length; i++) { |
@@ -478,7 +478,7 @@ discard block |
||
478 | 478 | <?php |
479 | 479 | if (isset($_COOKIE['lastcentercoord']) || (isset($globalCenterLatitude) && isset($globalCenterLongitude) && $globalCenterLatitude != '' && $globalCenterLongitude != '')) { |
480 | 480 | if (isset($_COOKIE['lastcentercoord'])) { |
481 | - $lastcentercoord = explode(',',$_COOKIE['lastcentercoord']); |
|
481 | + $lastcentercoord = explode(',', $_COOKIE['lastcentercoord']); |
|
482 | 482 | if (!isset($lastcentercoord[3])) $zoom = $lastcentercoord[2]*1000000.0; |
483 | 483 | else $zoom = $lastcentercoord[3]; |
484 | 484 | $viewcenterlatitude = $lastcentercoord[0]; |