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

allow bookmark with query #839

Open chughes-lincoln opened 1 year ago

chughes-lincoln commented 1 year ago

3.11, when configured by the admin, allowed users to start queries from the url. This is retained in the bookmark url, meaning when someone uses the bookmark tool after a url query, the query will run overwriting any extent changes.

This uses a regular expression when creating the bookmark url similar to how geomoose 2 handled it, replacing everything between the ? and # in the URL, removing the service parameters.

Ref: https://github.com/geomoose/gm3/issues/831