source: spip-zone/_plugins_/gis/trunk/json/gis_point_libre.html @ 80096

Last change on this file since 80096 was 80096, checked in by brunobergot@…, 7 years ago

oubli dans r80095 + fix sur le filtre |gis_icon_properties pour qu'il fontionne bien lorsqu'on lui passe un chemin

File size: 389 bytes
Line 
1{
2        "type": "Feature",
3        "geometry": {"type": "Point", "coordinates": [[(#ENV{lon})], [(#ENV{lat})]]},
4        "id":"1",
5        "properties": {
6                "title":[(#ENV{titre}|?{#ENV{titre},''}|json_encode)],
7                "description":[(#ENV{description}|?{#ENV{description}|wrap{<p>},''}|json_encode)]
8                #SET{icone, #CHEMIN_IMAGE{#ENV*{icone,0}}|sinon{#CHEMIN{#ENV*{icone,0}}}}[
9                (#GET{icone}|gis_icon_properties)]
10        }
11}
Note: See TracBrowser for help on using the repository browser.