geomoose / gm3

GeoMoose 3.0 Development. Please submit pull requests to the 'main' branch.
https://www.geomoose.org
MIT License
58 stars 60 forks source link

Fix broken location restoration #817

Closed theduckylittle closed 1 year ago

theduckylittle commented 1 year ago

In the old reducer, zoom would be removed from the state when zooming by resolution. If zoom is set the map honors that first, causing a logic issue and the resolution to not be honored.

This sets zoom = null to prevent that logic issue.

refs: #813