Template:Map: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
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.)
Line 1: Line 1:
<div class="map" id="map"></div><span class="map-template-data" style="display: none;"><nowiki>{"location":"</nowiki>{{{location}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude>
<div class="map" id="map" style="height: {{{height|300px}}}></div><span class="map-template-data" style="display: none;"><nowiki>{"location":"</nowiki>{{{location}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude>