Template:Map: Difference between revisions

59 bytes added ,  23 November 2024
no edit summary
(Set a default style height to prevent flickering of the box height. If Leaflet loads before the height, it can incorrectly calculate the map's default position.)
No edit summary
(3 intermediate revisions by the same user not shown)
Line 1:
<div class="map" id="map" style="height: {{{height|300px}}}; width: {{{width|300px}}}></div><span class="map-template-data" style="display: none;"><nowiki>{"locationtype":"</nowiki>{{{type}}}<nowiki>","target":"</nowiki>{{{locationtarget}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude>