diff options
| 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 |
| commit | 428a03fd62924b1194ce66bf39c6746f27cb2812 (patch) | |
| tree | af8acb05e1a1d6b178eee88d1bc17d744d2d7b1f /ishtar_common/templates | |
| parent | 3286c8f443ee164ccebaf7b833854a8a991fd39a (diff) | |
| download | Ishtar-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.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 %} |
