map_utils_core 0.0.3
map_utils_core: ^0.0.3 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.3 #
- Updated README: document
GeoDistance,GeoPath,GeoCircle,GeoBoundsin Modules and API Reference tables - README now explicitly notes that
LatLngand all geo types are re-exported from this package — no external coordinate package required - Removed
latlong2from the Compatibility table in README (it remains an internal transitive dependency)
0.0.2 #
- Geo types bundled:
LatLng,Distance,Path,Circle,LengthUnit,Vincenty,Haversine,CatmullRomSpline2Dnow exported directly frommap_utils_core— no separate geo library required in your pubspec GeoDistance: extendedDistancewithmidpoint,interpolate,crossTrackDistance,alongTrackDistance,angularDistance,pathLength,pointAlongPathGeoPath: typed coordinate list withbounds,reverse,subPath,nearest,bearing,bearings,equalize(CatmullRom smoothing)GeoCircle: extendedCirclewithtoPolygon(steps),overlaps,containsCircle,toBounds,distanceToEdgeGeoBounds: axis-aligned geographic bounding box withextend,union,intersection,contains,overlaps,containsBounds
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