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

Bookmark - Only pull layers + extent when including service parameters in URL #831

Open chughes-lincoln opened 1 year ago

chughes-lincoln commented 1 year ago

With GeoMoose 3.11 you now have the ability to include service parameters in the URL - via https://docs.geomoose.org/3.x/howto/start-a-service.html.

Right now using the bookmark tool copies the entire URL (including any service parameters). It would be nice if the bookmark tool would specifically copy the map-source layers and extent rather than all the URL parameters. I'm not sure exactly how it was managed, but this was how it behaved in GeoMoose 2.

I'm trying to create URLs that search for each parcel that I can put into a 3rd party application. The links work, but if someone uses the bookmark tool from a link, the service runs overwriting the bookmark, and there's no way for the user to clear out the service without using the Start Over tool (or manually changing the URL which is beyond what I would expect a lot of users to be capable of).