airgradienthq / map

Other
8 stars 2 forks source link

Use longitude, latitude and zoom from URL query parameters #9

Closed airgradienthq closed 8 months ago

airgradienthq commented 1 year ago

Currently when loading the map, the longitude, latitude and zoom level are not regarded.

Steps to reproduce.

  1. Load map
  2. Zoom into a country or city
  3. URL updates automatically (e.g. ?zoom=5&lat=47.711&long=10.125&org=ag&token=null)
  4. Hit browser reload

After 4. the map should not reset to the world view but stay on the same zommed in place.