seasketch / next

A modernization version of the SeaSketch platform, released in 2022.
https://seasketch.org
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Hide measurement tool when unavailable #692

Open avmey opened 6 months ago

avmey commented 6 months ago

Workshop participants most wanted the measurement tool before they drew a shape (I start fishing 1km offshore...), often to get the first point and a sense of scale. Suggestion to completely hide the measurement tool until it's available to use.

underbluewaters commented 6 months ago

Thought this through with Abby a bit... Seems like the solution would be to kick the user into the "List Shapes" screen and out of the drawing context if they attempt to measure before drawing their first shape.

The better solution would be to support measurement at any point in the drawing process, but that's difficult to coordinate with mapbox-gl-draw on a technical level.