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 --- ishtar_common/templates/gis/openlayers-osm.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/templates') 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