map_utils_core 0.0.1
map_utils_core: ^0.0.1 copied to clipboard
Platform-agnostic geometry algorithms, shape models, drawing state, snapping, undo/redo, and GeoJSON utilities. No map-SDK dependency — works with any map engine.
0.0.1 #
- Initial public release
- Drawing state with mode management and undo/redo
- Sealed shape models: polygon, polyline, circle, rectangle
- Shape styles with stroke type, border color, fill color, selected state
- Geometry utilities: area, perimeter, distance, centroid, midpoint, simplify, smooth
- GeoJSON import/export
- Snapping engine: vertex, midpoint, edge, intersection, grid, perpendicular
- Selection utilities with closest-shape hit testing
- Shared UI widgets: DrawingToolbar, ShapeInfoPanel