Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix #158

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 3 additions & 0 deletions install/geolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: geolocation
version: '2.2.0'
version: '2.2.1'
author: Friends Of REDAXO
supportpage: https://github.com/FriendsOfREDAXO/geolocation

Expand Down