diff options
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 |
commit | 50b398d606a0a06194e45d932432a70b7cc7a8e3 (patch) | |
tree | 57d9f00022afeb4a449623fc5189eae7cb0d1c65 /ishtar_common/templates | |
parent | 48f2b49464158e02ba2eaf1b035fb27cf1c92600 (diff) | |
download | Ishtar-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.html | 1 |
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 %} |