Static location map in edit mode doesn't focus on current location
Summary
When I currently set a static location action around Hamburg for test purposes and I open the page to edit the location values, then it still focusses on the place where it things I'm located - and not in the area around hamburg.
Steps to reproduce
- Create a test configuration
- add a static location action
- put the marker to a place that is far outside of the current region that is shown when you opened the new location page
- add further information so that you can save the location.
- click on save
- after the save cick on the 3-button menu & click on edit
What is the current bug behavior?
- Now the part of the map that is shown is far outside of the area that was set for the static location (for me it is most often centered around Potsdam, but also on other places: Mühlhausen, Magdeburg, ..., I guess it is depending on what the browsers geolocation api says).
What is the expected correct behavior?
- It should show the area around the marker location of the static location action.
Some logs and/or screenshots
Possible fixes
I think this is somehow related to the initialization of the location map component.
ToDo's
-
Bug reproduced -
Cause found -
Bug fixed