1 #HTTP_HEADER{Content-type:text/javascript}
3 [(#INCLURE{lib/leaflet/dist/leaflet-src.js})]
5 [(#REM) Déprécié avec Leaflet
1.0, mais nécessaire si le site utilise compresseur_embarquer_images_css ]
6 [L.Icon.Default.imagePath = '(#CHEMIN{lib/leaflet/dist/images/}|url_absolue)';]
11 'gis_layers': #EVAL{json_encode($GLOBALS['gis_layers'])},
12 'default_layer': '[(#REM|gis_layer_defaut)]',
13 'affiche_layers': [(#CONFIG{gis/layers,#ARRAY}|json_encode)]
17 'forwardUrl': '[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=search}|html_entity_decode)]',
18 'reverseUrl': '[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=reverse}|html_entity_decode)]'
23 [(#INCLURE{javascript/gis_geocoder.js})]
25 [(#INCLURE{javascript/gis_utils.js})]
27 [(#INCLURE{lib/leaflet/plugins/KML.js})]
29 [(#INCLURE{lib/leaflet/plugins/GPX.js})]
31 [(#INCLURE{lib/leaflet/plugins/TOPOJSON.js})]
33 [(#INCLURE{lib/leaflet/plugins/leaflet-providers.js})]
35 [(#INCLURE{lib/leaflet/plugins/Control.FullScreen.js})]
37 [(#INCLURE{lib/leaflet/plugins/Control.MiniMap.js})]
39 [(#REM) Scripts de google et bing si besoin ]
41 #SET{layers,#CONFIG{gis/layers,#ARRAY{
0,openstreetmap_mapnik}}}
42 [(#VAL|gis_layer_defaut|in_array{#GET{layers}}|non)
43 #SET{layers,#GET{layers}|push{#VAL|gis_layer_defaut}}
46 [(#LISTE{google_roadmap,google_satellite,google_terrain}|array_intersect{#GET{layers}}|count|
>{
0}|oui)
47 [(#INCLURE{lib/leaflet/plugins/Leaflet.GoogleMutant.js})]
50 [(#VAL{bing_aerial}|in_array{#GET{layers}}|oui)
51 [(#INCLURE{lib/leaflet/plugins/Bing.js})]
54 [(#INCLURE{lib/leaflet/plugins/leaflet.markercluster-src.js})]
56 [(#INCLURE{javascript/leaflet.gis.js})]
58 [(#CONFIG{auto_compress_js}|=={oui}|oui)
60 #FILTRE{trim|compacte}]