From 50b398d606a0a06194e45d932432a70b7cc7a8e3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 26 Dec 2023 19:57:39 +0100 Subject: ✨ geo form: add coordinates display - get coordinates from geolocalisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/gis/openlayers-osm.html | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/gis/openlayers-osm.html b/ishtar_common/templates/gis/openlayers-osm.html index 90ccbb0e3..4ed773a33 100644 --- a/ishtar_common/templates/gis/openlayers-osm.html +++ b/ishtar_common/templates/gis/openlayers-osm.html @@ -46,5 +46,6 @@ } let current_zoom = {{ module }}.map.getView().getZoom(); if ({{ module }}.map.getView().getZoom() > 18) {{ module }}.map.getView().setZoom(18); + current_module = {{ module }} ; }); {% endblock %} -- cgit v1.2.3