Source

django-leaflet-storage / leaflet_storage / templates / leaflet_storage / map_fragment.html

Full commit
1
2
3
4
5
{% load leaflet_storage_tags %}
    <div id="map_{{ map.pk }}" class="map_fragment"></div>
    <script type="text/javascript">
        new L.Storage.Map("map_{{ map.pk }}", {{ map_settings|notag|safe }});
    </script>