X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins%2Fgis%2Fjavascript%2Fgis.js.html;h=cacd20800f8b4f9c15a541a34dec49d90d51577f;hb=c0f18416f529232b5555c6410a8765a5125ebcd3;hp=8537b6a533f34c998d188cc25377707e9f1eecbd;hpb=50522c53acc9e61a4a7de3a1890c4ba93e2f61b4;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins/gis/javascript/gis.js.html b/www/plugins/gis/javascript/gis.js.html index 8537b6a5..cacd2080 100644 --- a/www/plugins/gis/javascript/gis.js.html +++ b/www/plugins/gis/javascript/gis.js.html @@ -2,19 +2,19 @@ [(#INCLURE{lib/leaflet/dist/[(#CONFIG{auto_compress_js}|=={oui}|?{'leaflet','leaflet-src'})].js})] -[L.Icon.Default.imagePath = "(#CHEMIN{lib/leaflet/dist/images}|url_absolue)";] +[L.Icon.Default.imagePath = '(#CHEMIN{lib/leaflet/dist/images}|url_absolue)';] (function() { L.gisConfig = { - "gis_layers":#EVAL{json_encode($GLOBALS['gis_layers'])}, - "default_layer":"[(#REM|gis_layer_defaut)]", - "affiche_layers":[(#CONFIG{gis/layers,#ARRAY}|json_encode)] + 'gis_layers': #EVAL{json_encode($GLOBALS['gis_layers'])}, + 'default_layer': '[(#REM|gis_layer_defaut)]', + 'affiche_layers': [(#CONFIG{gis/layers,#ARRAY}|json_encode)] }; L.geocoderConfig = { - "forwardUrl":"[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=search}|html_entity_decode)]", - "reverseUrl":"[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=reverse}|html_entity_decode)]" + 'forwardUrl': '[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=search}|html_entity_decode)]', + 'reverseUrl': '[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=reverse}|html_entity_decode)]' }; })(); @@ -27,6 +27,8 @@ L.geocoderConfig = { [(#INCLURE{lib/leaflet/plugins/GPX.js})] +[(#INCLURE{lib/leaflet/plugins/TOPOJSON.js})] + [(#INCLURE{lib/leaflet/plugins/leaflet-providers.js})] [(#INCLURE{lib/leaflet/plugins/Control.FullScreen.js})] @@ -53,5 +55,5 @@ L.geocoderConfig = { [(#INCLURE{javascript/leaflet.gis.js})] [(#CONFIG{auto_compress_js}|=={oui}|oui) -#FILTRE{compacte} -] +// gis.js +#FILTRE{trim|compacte}] \ No newline at end of file