From bf1b68977a2dee2fdbff71956176e403fba17eb7 Mon Sep 17 00:00:00 2001 From: christophboecker Date: Mon, 1 Jul 2024 11:23:30 +0200 Subject: [PATCH 1/2] =?UTF-8?q?interne=20Container=20fr=C3=BCher=20verlink?= =?UTF-8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/geolocation.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/geolocation.js b/install/geolocation.js index e66834d..96d71f9 100644 --- a/install/geolocation.js +++ b/install/geolocation.js @@ -188,6 +188,9 @@ Geolocation.Classes.Map = class { this.map = L.map( container, mapOptions ); if( !this.map ) return null; + // frühzetig interne Verlinkung herstellen; notwendig für Tool-initialisierung + container.__rmMap = this; + // Zusatzbuttons für "Zoom" und "Home" einbauen, indem das neue Zoom-Control aktiviert wird. this.map.on( 'load', function(e){ this.zoomControl = this.zoomControl || new L.Control.GeolocationZoom().addTo(this.map); From eea1d782634a4ce4f2fec2df7e57969b1b3214fa Mon Sep 17 00:00:00 2001 From: christophboecker Date: Mon, 1 Jul 2024 11:27:20 +0200 Subject: [PATCH 2/2] release --- CHANGELOG.md | 8 ++++++++ package.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5af53d..7efa6d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 01-07-2024 2.2.1 + +- BugFix + - JS: Die Verlinkung der internen Geolocation -Strukturen im Karten-Container + erfolgte zu spät. `map._conainer.__rmMap` ist nun bei der Tool-initialisierung + wie geplant verfügbar. + + ## 26-02-2024 2.2.0 - Umbau (#152) diff --git a/package.yml b/package.yml index ca267cb..d9eabfd 100644 --- a/package.yml +++ b/package.yml @@ -1,5 +1,5 @@ package: geolocation -version: '2.2.0' +version: '2.2.1' author: Friends Of REDAXO supportpage: https://github.com/FriendsOfREDAXO/geolocation