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-02-05 10:55:37 +0100
commit428a03fd62924b1194ce66bf39c6746f27cb2812 (patch)
treeaf8acb05e1a1d6b178eee88d1bc17d744d2d7b1f /ishtar_common/templates
parent3286c8f443ee164ccebaf7b833854a8a991fd39a (diff)
downloadIshtar-428a03fd62924b1194ce66bf39c6746f27cb2812.tar.bz2
Ishtar-428a03fd62924b1194ce66bf39c6746f27cb2812.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 %}