geomoose / gm3

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

Add option to Close Measure Tool #848

Closed chughes-lincoln closed 12 months ago

chughes-lincoln commented 1 year ago

For any search/selection/identification there's a button to Close the tool which also gets rid of any results on your map from previous tools (i.e. if you do a search, and then open the select tool, closing the select tool clears the previous search results, which is useful because when you switch to the select tool you no longer have access to the clear search results button).

If you use the measure tool after any search/selection/identification, the results from that previous tool still show on your map (allowing you to measure those results), but there's no way to clear those results. It feels a bit clunky to have to be measuring and then have to open a different tool to clear the results (particularly as there's a clear measure features button that only clears measurements).

chughes-lincoln commented 12 months ago

Now that I think about it more, I'm not sure if adding a close measure tool button is the right solution. One of the things we want to avoid is unintentionally removing measurements, as keeping your measurements on the map was a pretty big part of the recent measurement enhancements. It does feel a bit clunky to have selections on your map (if you don't want them there) and have no way of getting rid of them in the current tool, but perhaps any solution would make things worse.