Hi I'm using a leaflet map. It opens in a modal window. When first opened, the map is not displayed. When you reopen the map, it is displayed. This behavior is repeated when the page is refreshed.
How do I display the link:
<a href="{{ edit_distance_check }}" class="use-ajax" data-dialog-type="modal" data-dialog-options="{"width":"80%","minHeight":"80%"}">
{{ 'Добавить/Просмотреть'|t }}
</a>
Comments
Comment #2
christianadamski commentedI assume the map is working fine, just the tiles not loaded. Tiles are loaded during map init for all visible areas. If no areas are visible during init, no tiles are loaded. You can solve this by triggering a refresh. This is a behavior of leaflet/Googl Maps itself, not this module.