map_utils_core 0.0.2 copy "map_utils_core: ^0.0.2" to clipboard
map_utils_core: ^0.0.2 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.2 #

  • Geo types bundled: LatLng, Distance, Path, Circle, LengthUnit, Vincenty, Haversine, CatmullRomSpline2D now exported directly from map_utils_core — no separate geo library required in your pubspec
  • GeoDistance: extended Distance with midpoint, interpolate, crossTrackDistance, alongTrackDistance, angularDistance, pathLength, pointAlongPath
  • GeoPath: typed coordinate list with bounds, reverse, subPath, nearest, bearing, bearings, equalize (CatmullRom smoothing)
  • GeoCircle: extended Circle with toPolygon(steps), overlaps, containsCircle, toBounds, distanceToEdge
  • GeoBounds: axis-aligned geographic bounding box with extend, 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
0
likes
150
points
87
downloads

Documentation

API reference

Publisher

verified publisherubxty.com

Weekly Downloads

Platform-agnostic geometry algorithms, shape models, drawing state, snapping, undo/redo, and GeoJSON utilities. No map-SDK dependency — works with any map engine.

Homepage
Repository (GitHub)
View/report issues

Topics

#map #gis #geometry #geojson #drawing

License

MIT (license)

Dependencies

collection, flutter, latlong2, meta, uuid

More

Packages that depend on map_utils_core