4.394
Bearbeitungen
Keine Bearbeitungszusammenfassung |
HeikoK (Diskussion | Beiträge) (bei geojson auch location-Geokoordinate setzen) |
||
| Zeile 1: | Zeile 1: | ||
<includeonly>{{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}} <!-- Box --> | <includeonly>{{#invoke:Debug|print_template_args}}{{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}} <!-- Box --> | ||
| {{{headline|{{{geojson|{{PAGENAME}}}}}}}} | | {{{headline|{{{geojson|{{PAGENAME}}}}}}}} | ||
| {{#ifexist: GeoJson:{{{geojson|{{PAGENAME}}}}} <!-- if GeoJson-Karte existiert? --> | | {{#ifexist: GeoJson:{{{geojson|{{PAGENAME}}}}} <!-- if GeoJson-Karte existiert? --> | ||
| Zeile 7: | Zeile 7: | ||
| zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes | | zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes | ||
}} | }} | ||
{{#set: Geokoordinate={{{lat|0}}},{{{lon|0}}} | Zoomlevel={{{zoom|16}}}}} | {{#if: {{{location|}}} <!-- if location? --> | ||
| {{#set: Geokoordinate={{#geocode:{{{location}}}}} | Zoomlevel={{{zoom|16}}}}} <!-- then: location-Geokoordinate setzen --> | |||
| {{#set: Geokoordinate={{{lat|0}}},{{{lon|0}}} | Zoomlevel={{{zoom|16}}}}} <!-- else: lat/lon- Geokoordinate setzen --> | |||
}} | |||
| {{#if: {{{location|}}} <!-- else: if location? --> | | {{#if: {{{location|}}} <!-- else: if location? --> | ||
| {{#display_map: {{{location}}} <!-- then: Karte ausgeben --> | | {{#display_map: {{{location}}} <!-- then: Karte ausgeben --> | ||