From c97cde3dc0385830c8fe36ca99212310e4b15b70 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 21 Jun 2023 21:26:10 +0200 Subject: 🐛 JS: fix TrackPositionControl with https MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog/en/changelog_2022-06-15.md | 6 +++++- changelog/fr/changelog_2023-01-25.md | 5 +++++ ishtar_common/templates/gis/openlayers-osm.html | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md index d7d39f2da..a23d798d2 100644 --- a/changelog/en/changelog_2022-06-15.md +++ b/changelog/en/changelog_2022-06-15.md @@ -1,4 +1,4 @@ -v4.0.49 - 2023- +v4.0.49 - 2023-06-21 -------------------- ### Features/improvements ### @@ -6,6 +6,10 @@ v4.0.49 - 2023- - Sheet: display spatial reference system with coordinates of points +### Technical ### +- JS: fix TrackPositionControl with https + + v4.0.48 - 2023-06-08 -------------------- diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md index c1bbcf19d..ccc687e1d 100644 --- a/changelog/fr/changelog_2023-01-25.md +++ b/changelog/fr/changelog_2023-01-25.md @@ -5,6 +5,11 @@ v4.0.49 - 2023- - Amélioration de l'affichage du journal de modifications - Fiche : affichage dus système de référence spatiale avec les coordonnées des points + +### Technique ### +- JS : correction TrackPositionControl avec le https + + v4.0.48 - 2023-06-08 -------------------- diff --git a/ishtar_common/templates/gis/openlayers-osm.html b/ishtar_common/templates/gis/openlayers-osm.html index 0c4391a0f..90ccbb0e3 100644 --- a/ishtar_common/templates/gis/openlayers-osm.html +++ b/ishtar_common/templates/gis/openlayers-osm.html @@ -23,7 +23,7 @@ ]); if (location.protocol == 'https:'){ map_controls.push( - new TrackPositionControl({map_id: map_id}) + new TrackPositionControl({map_id: options['map_id']}) ); } options["controls"] = map_controls; -- cgit v1.2.3