« Query a link and an image onto a GeoJSON map » : différence entre les versions
De Semantic MediaWiki - Sandbox
m (Kghbln a déplacé la page Query a link and an image onto a GeoJSON map vers Query a link and an image onto a GeoJSON map : namefix) |
(chg) |
||
Ligne 2 : | Ligne 2 : | ||
<pre> | <pre> | ||
{{#set: | {{#set: | ||
Has coordinates=52.5298784,13.3885993 | |Has coordinates=52.5298784,13.3885993 | ||
|Has URL=https://www.wikihoster.net | |Has URL=https://www.wikihoster.net | ||
|Has page=Fichier:YodaCat.jpg | |Has page=Fichier:YodaCat.jpg | ||
Ligne 8 : | Ligne 8 : | ||
</pre> | </pre> | ||
{{#set: | {{#set: | ||
Has coordinates=52.5298784,13.3885993 | |Has coordinates=52.5298784,13.3885993 | ||
|Has URL=https://www.wikihoster.net | |Has URL=https://www.wikihoster.net | ||
|Has page=Fichier:YodaCat.jpg | |Has page=Fichier:YodaCat.jpg | ||
}}<nowiki /> | }}<nowiki /> | ||
; | ; GeoJSON map | ||
[[GeoJson:BerlinRomantikkiez]] | [[GeoJson:BerlinRomantikkiez]] | ||
; Template | |||
[[Template:20201029]] | |||
; Query | ; Query | ||
Ligne 31 : | Ligne 34 : | ||
}} | }} | ||
</pre> | </pre> | ||
; Result | |||
{{#ask: | {{#ask: | ||
[[Category:Berlin]] | [[Category:Berlin]] | ||
Ligne 44 : | Ligne 49 : | ||
}} | }} | ||
[[Category:Leaflet examples]] | |||
[[Category: |
Version du 29 octobre 2020 à 23:04
- Data
{{#set: |Has coordinates=52.5298784,13.3885993 |Has URL=https://www.wikihoster.net |Has page=Fichier:YodaCat.jpg }}
- GeoJSON map
- Template
- Query
{{#ask: [[Category:Berlin]] [[Has coordinates::+]] |format=leaflet |geojson=BerlinRomantikkiez |zoom=12 |center=Berlin |?Has coordinates |?Has URL |?Has page |template=20201029 }}
- Result