[PLUGINS] +clavettes et dependances
[lhc/web/clavette_www.git] / www / plugins / gis / json / gis_point_libre.html
diff --git a/www/plugins/gis/json/gis_point_libre.html b/www/plugins/gis/json/gis_point_libre.html
new file mode 100644 (file)
index 0000000..8e5c3fa
--- /dev/null
@@ -0,0 +1,10 @@
+{
+       "type": "Feature",
+       "geometry": {"type": "Point", "coordinates": [[(#ENV{lon})], [(#ENV{lat})]]},
+       "id":"1",
+       "properties": {
+               "title":[(#ENV{titre}|?{#ENV{titre},''}|json_encode)],
+               "description":[(#ENV{description}|?{#ENV{description}|wrap{<p>},''}|json_encode)][
+               (#CHEMIN_IMAGE{#ENV*{icone,0}}|sinon{#CHEMIN{#ENV*{icone,0}}}|gis_icon_properties)]
+       }
+}