CargoCanvas / Examples / Drawing and editing

Drawing and editing

The Draw tool lays shapes interactively — click to add vertices, click the first/last vertex, double-click or press Enter to finish, Escape cancels; rectangles and circles are dragged out in one gesture. A tooltip follows the pointer with the live length, area or radius. Click any finished shape to edit it with Edit: drag vertices, drag a midpoint to insert one, Alt+click to delete. The Turf.js button shows the GeoJSON bridge: drawn zones go out through toGeoJSON(), get unioned, and come back as a layer.

Draw something — measurements land here.

What to notice