19 lines
863 B
HTML
19 lines
863 B
HTML
{% load l10n %}
|
|
{% if title %}<h2>{{ title }}</h2>{% endif %}
|
|
{% localize off %}
|
|
<div class="combo-cell-map" data-init-state="{{ initial_state }}"
|
|
data-init-zoom="{{ initial_zoom }}" data-min-zoom="{{ min_zoom }}"
|
|
data-max-zoom="{{ max_zoom }}" data-init-lat="{{ init_lat }}"
|
|
data-init-lng="{{ init_lng }}" data-geojson-url="{{ geojson_url }}"
|
|
data-tile-urltemplate="{{ tile_urltemplate}}" data-map-attribution="{{ map_attribution}}"
|
|
{% if group_markers %}data-group-markers="1"{% endif %}
|
|
{% if max_bounds.corner1.lat %}
|
|
data-max-bounds-lat1="{{ max_bounds.corner1.lat }}"
|
|
data-max-bounds-lng1="{{ max_bounds.corner1.lng }}"
|
|
data-max-bounds-lat2="{{ max_bounds.corner2.lat }}"
|
|
data-max-bounds-lng2="{{ max_bounds.corner2.lng }}"
|
|
{% endif %}
|
|
>
|
|
{% endlocalize %}
|
|
</div>
|