[PLUGINS] ~gis v4.41.1 --> v4.43.1
[lhc/web/www.git] / www / plugins / gis / gis_options.php
index 6cf5881..19d2353 100755 (executable)
@@ -34,44 +34,20 @@ $gis_layers = array (
        ),
        'google_roadmap' => array(
                'nom' => 'Google Roadmap',
-               'layer' => 'L.Google("ROADMAP")'
+               'layer' => 'L.gridLayer.googleMutant({type:"roadmap"})'
        ),
        'google_satellite' => array(
                'nom' => 'Google Satellite',
-               'layer' => 'L.Google("SATELLITE")'
+               'layer' => 'L.gridLayer.googleMutant({type:"satellite"})'
        ),
        'google_terrain' => array(
                'nom' => 'Google Terrain',
-               'layer' => 'L.Google("TERRAIN")'
+               'layer' => 'L.gridLayer.googleMutant({type:"terrain"})'
        ),
        'bing_aerial' => array(
                'nom' => 'Bing Aerial',
                'layer' => 'L.BingLayer("'.$config['api_key_bing'].'")'
        ),
-       'thunderforest_opencyclemap' => array(
-               'nom' => 'Thunderforest OpenCycleMap',
-               'layer' => 'L.tileLayer.provider("Thunderforest.OpenCycleMap")'
-       ),
-       'thunderforest_transport' => array(
-               'nom' => 'Thunderforest Transport',
-               'layer' => 'L.tileLayer.provider("Thunderforest.Transport")'
-       ),
-       'thunderforest_landscape' => array(
-               'nom' => 'Thunderforest Landscape',
-               'layer' => 'L.tileLayer.provider("Thunderforest.Landscape")'
-       ),
-       'thunderforest_outdoors' => array(
-               'nom' => 'Thunderforest Outdoors',
-               'layer' => 'L.tileLayer.provider("Thunderforest.Outdoors")'
-       ),
-       'thunderforest_spinalmap' => array(
-               'nom' => 'Thunderforest SpinalMap',
-               'layer' => 'L.tileLayer.provider("Thunderforest.SpinalMap")'
-       ),
-       'thunderforest_pioneer' => array(
-               'nom' => 'Thunderforest Pioneer',
-               'layer' => 'L.tileLayer.provider("Thunderforest.Pioneer")'
-       ),
        'opentopomap' => array(
                'nom' => 'OpenTopoMap',
                'layer' => 'L.tileLayer.provider("OpenTopoMap")'