summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-12-26 19:57:39 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-04-16 16:39:48 +0200
commit50b398d606a0a06194e45d932432a70b7cc7a8e3 (patch)
tree57d9f00022afeb4a449623fc5189eae7cb0d1c65 /ishtar_common/templates
parent48f2b49464158e02ba2eaf1b035fb27cf1c92600 (diff)
downloadIshtar-50b398d606a0a06194e45d932432a70b7cc7a8e3.tar.bz2
Ishtar-50b398d606a0a06194e45d932432a70b7cc7a8e3.zip
✨ geo form: add coordinates display - get coordinates from geolocalisation
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/gis/openlayers-osm.html1
1 files changed, 1 insertions, 0 deletions
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 %}