GIScience / GIScience/ors-map-client
map does not render or renders only once, then snap back to Lampenhain
- Dominant language
- JavaScript
- Stars
- 145
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Problem description
Issue with web application https://maps.openrouteservice.org/
both on Mac OS X 12.3 running Firefox 116.0
and
firefox Focus 109.1.1 running on Android 9
I load a GPX file.
It renders in the browser window.
But then I click anything (here, for example, I changed to view to a topographical one) and the map returns to Lampenhain, which sort of defeats the purpose... Certainly zooming (also tested and returning the same behaviour) is 99% required.
On can note that some of the data from the file import remains in the side pane.
• on OSX only a single point remains (as above)
• on android all points of GPX data are in the side bar, but the map reverted to Hilsenhain / Lampenhain.

Subsequently, I can attempt to reload a file, but the map stays at Hilsenhain / Lampenhain.
Even though the data is apparently loaded
### Proposed solution
The map should be maintained and cleared only once the button to clear has been activeated or a new file loaded.
### Additional context
_No response_
### Forum Topic Link
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue at https://maps.openrouteservice.org/ with a GPX file, then change the map view or zoom and observe whether it returns to Lampenhain/Hilsenhain. Compare the reported Firefox behavior on desktop and Android. Done means the imported map remains in view after map interactions and is cleared only by the clear action or loading a new file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100