Last change
on this file since 90055 was
90055,
checked in by real3t@…, 6 years ago
|
aoustrong est devenu lien_ou_expose (intégré à SPIP)
|
File size:
1.1 KB
|
Line | |
---|
1 | <BOUCLE_art(ARTICLES){gis}{id_article ?}{id_rubrique ?}{id_secteur ?}{id_mot ?}{id_groupe ?}{id_auteur ?}{recherche ?}{0, #ENV{limit}}{","}> |
---|
2 | {"type": "Feature", |
---|
3 | "geometry": {"type": "Point", "coordinates": [#LON, #LAT]}, |
---|
4 | "id":"#ID_GIS", |
---|
5 | "properties": { |
---|
6 | "title":[(#URL_ARTICLE|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|supprimer_numero)]}|json_encode)], |
---|
7 | "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][(#SET{logo_doc,''})] |
---|
8 | [(#LOGO_GIS|oui) |
---|
9 | [(#SET{logo_doc,#LOGO_GIS|image_passe_partout{32,32}|image_recadre{32,32}})]] |
---|
10 | [(#LOGO_GIS|non) |
---|
11 | [(#CHEMIN{images/marker_defaut.png}|oui) |
---|
12 | [(#SET{logo_doc,#CHEMIN{images/marker_defaut.png}|image_passe_partout{32,32}|image_recadre{32,32}})] |
---|
13 | ]] |
---|
14 | [(#GET{logo_doc}|oui) |
---|
15 | #SET{icon_w,#GET{logo_doc}|extraire_attribut{src}|largeur} |
---|
16 | #SET{icon_h,#GET{logo_doc}|extraire_attribut{src}|hauteur} |
---|
17 | #SET{icon_anchorPoint,''} |
---|
18 | [,"icon": (#GET{logo_doc}|extraire_attribut{src}|url_absolue|json_encode)], |
---|
19 | "icon_size": [(#VAL{91}|chr)]#GET{icon_w},#GET{icon_h}[(#VAL{93}|chr)], |
---|
20 | "icon_anchor": [(#VAL{91}|chr)][(#GET{icon_w}|div{2})],[(#GET{icon_h})][(#VAL{93}|chr)] |
---|
21 | ]}}</BOUCLE_art> |
---|
Note: See
TracBrowser
for help on using the repository browser.