maps: add django block to drive data-include-geoloc-button (#59213)

This commit is contained in:
Frédéric Péters 2021-12-01 16:45:50 +01:00
parent 4176ba8b30
commit c814cdf888
1 changed files with 2 additions and 0 deletions

View File

@ -8,7 +8,9 @@
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 }}"
{% block map-include-geoloc-button %}
data-include-geoloc-button="true"
{% endblock %}
{% if group_markers %}data-group-markers="1"{% endif %}
data-marker-behaviour-onclick="{{ cell.marker_behaviour_onclick }}"
{% if max_bounds.corner1.lat %}