Overview
maps_toolkit is a Flutter/Dart package providing essential geospatial utilities for working with maps. It offers tools to calculate the area of polygons, compute distances between geographic points, and determine heading and offset between coordinates—mirroring functionality from the Android Maps Utils library. Designed for cross-platform use, it supports Android, iOS, Web, macOS, Windows, and Linux. The package simplifies complex geographic computations, making it ideal for location-based applications requiring precise measurements and spatial analysis.
Use cases
- Calculating polygon areas on maps
- Measuring distances between two coordinates
- Determining directional heading between points
- Computing coordinate offsets
- Geospatial data visualization
- Route planning and analysis
Key features
- Polygon area calculation
- Distance and bearing computation
- Coordinate offset utilities
- Cross-platform compatibility
- Lightweight and easy to integrate
- Port of Android Maps Utils
Suitable for
- Map-based applications
- Location-aware features
- GIS-related projects
- Navigation and routing tools
- Real-time tracking systems
- Spatial analytics
Considerations
- Requires valid latitude/longitude inputs
- No built-in map rendering
- Depends on accurate geodetic calculations
- Not suitable for large-scale terrain modeling
- Best used with map widgets like google_maps_flutter