geomoose / gm3

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

Fix for "Start over" with query. #803

Closed theduckylittle closed 1 year ago

theduckylittle commented 1 year ago

Clears about both the query-string and the hash string.

chughes-lincoln commented 1 year ago

This looks great, only potential issue I've noticed is that Start Over also clears any custom mapbook parameters (i.e. via https://github.com/geomoose/gm3/pull/674/commits/6345cd447dbc047837355a4cd70c3c6755268e2a).

I suppose the only time this would be an issue would be if someone wanted to have the ability to have multiple mapbooks as well as the ability to query by the url using the same app.js.