GIScience / GIScience/ors-map-client
Zooming (via mousewheel and ±-buttons) and panning (via arrows) does not update URL
- Dominant language
- JavaScript
- Stars
- 145
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
When switching from the base map layer from OpenStreetMap view to Satellite Imagery view, the map sometimes jumps to a different, previously visited location. It potentially reads this info from the cookies?
To reproduce:
1. zoom to a location 1
2. pan to a new location 2
3. switch to Satellite Imagery -> you will see the aerial view of location 1 but with zoom level of location 2
Edit: Remove example links due to copy pasta error
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the three steps in the openrouteservice map client and observe the URL, map position, zoom, and layer during the layer switch. Trace where pan and zoom state is written to the URL and verify that switching to Satellite Imagery preserves both the current location and zoom; done when the URL and displayed map remain synchronized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100