CommanderStorm left a comment (openstreetmap/openstreetmap-website#7148)
> Well there are features on the main map that require the ability to draw
> shapes - in addition to various things that overlay points/lines/polygons
> there are also things like export that allow the user to select an area by
> dragging a box. When we move the main page to maplibre we will need a
> solution that allows those features to be implemented.
I think that's a somewhat different use case from what Terra Draw is trying to
solve.
My work has focused on supporting complex geometry editing with a good editing
experience, while keeping the existing map behaviour intact.
On my branch, I deliberately did not change the ergonomics of the existing
interfaces, so they should continue to look and feel the same as before.
That said, Terra Draw may well be a good fit for a better box-selection and
similar interaction patterns you mention, so if changes here are acceptable I
can investigate this.
Once https://github.com/maplibre/maplibre-gl-js/pull/7570 is merged, I can
continue splitting my branch into smaller, more manageable pieces of review. If
this PR lands first, I can also build moreover implementation rather than
introducing a separate solution.
Terradraw is the solution that I would have recommend, and the most
configurable and actively maintained at that.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7148#issuecomment-4684822306
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/7148/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev