Template:Map: Difference between revisions
Use data attributes instead of a hidden span
(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.) |
(Use data attributes instead of a hidden span) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1:
<div class="map" id="map" style="height: {{{height|300px}}}
|