« Query a link and an image onto a GeoJSON map » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(chg) |
||
(8 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
; See also | |||
[[Query a link and some content onto a GeoJSON map]] | |||
; Data | ; Data | ||
<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 | ||
}} | }} | ||
</pre> | |||
{{#set: | |||
|Has coordinates=52.5298784,13.3885993 | |||
|Has URL=https://www.wikihoster.net | |||
|Has page=Fichier:YodaCat.jpg | |||
}}<nowiki /> | |||
; | ; GeoJSON map | ||
[[GeoJson:BerlinRomantikkiez]] | [[GeoJson:BerlinRomantikkiez]] | ||
; Template | |||
[[Template:20201029]] | |||
; Query | ; Query | ||
<pre> | |||
{{#ask: | |||
[[Category:Berlin]] | |||
[[Has coordinates::+]] | |||
[[Has page::+]] | |||
[[Has URL::+]] | |||
|format=leaflet | |||
|geojson=BerlinRomantikkiez | |||
|zoom=12 | |||
|center=Berlin | |||
|?Has coordinates | |||
|?Has URL | |||
|?Has page | |||
|template=20201029 | |||
}} | |||
</pre> | |||
; Result | |||
{{#ask: | {{#ask: | ||
[[Category:Berlin]] | [[Category:Berlin]] | ||
[[Has coordinates::+]] | [[Has coordinates::+]] | ||
[[Has page::+]] | |||
[[Has URL::+]] | |||
|format=leaflet | |format=leaflet | ||
|geojson=BerlinRomantikkiez | |geojson=BerlinRomantikkiez | ||
Ligne 20 : | Ligne 53 : | ||
|?Has URL | |?Has URL | ||
|?Has page | |?Has page | ||
|template=20201029 | |||
}} | }} | ||
[[Category:Berlin]] | [[Category:Berlin]] | ||
[[Category:Leaflet examples]] |
Dernière version du 30 octobre 2020 à 18:20
- See also
Query a link and some content onto a GeoJSON map
- 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::+]] [[Has page::+]] [[Has URL::+]] |format=leaflet |geojson=BerlinRomantikkiez |zoom=12 |center=Berlin |?Has coordinates |?Has URL |?Has page |template=20201029 }}
- Result