🌍
English
Hi
while trying integrate OSM into my theme, I run across the issue of the map being misaligned on initial load
Ex: https://photo.dragonsoft.us/picture?/18 … 17#tab-map
Any idea on why it may be happening?
here is a code
{if isset($OSMJS)} <div id="tab-map" class="image-metadata-tab"> <dt {$OSMNAMECSS}>{$OSMNAME}</dt> <dd> <div id="map"></div> <script type="text/javascript"> {$OSMJS} </script> {if $SHOWOSM} <a href="{$OSMLINK}" target="_blank">{"VIEW_OSM"|@translate}</a> {/if} </dd> </div> {/if}
Offline