-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Closed
Feature Request
Copy link
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Add drawing capabilities to the user. Possible implementations:
- Might be simpler to rely on react-map-gl DrawControls implementation app.tsx and draw-control.ts. mapbox-gl-draw seem to be available via react-map-gl, see example here via react-map-gl-draw. With custom control bar, also available for maplibre.
- TerraDraw & repo, see implementation discussion or older discussion around react-map-gl integration
Capabilities:
1 Side panel avec les imports geojson + créations shapes. Si on met les shapes terra-draw dans le sidepanel, ce sera seulement une gestion de la visibilité show/hide de tout le layer terra-draw custom-shapes.- dans le local browser/tab context (tab context, eventually localStorage), all vector drawings disappear on reload or from other browser.
- useful drawing tools are probably only
points, polygons, rectangles. No need for Line, circle, freehand. Probably added as mapbox-controls - useful edition tools: select + delete to delete geometry, import and export, eventually delete-all
Note: Pas trop fan de l'édition par shape de custom properties comme un title. Annotation et étiquettes ton draw te permettrait de dessiner des points, si tu peux les nommer c'est ok ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed