flutter_map_math
0.2.4, released a year ago by an unverified publisher
Utility library for common geospatial calculations in Flutter
What it does
Provides static methods to compute distances, bearings, midpoints, destinations, intersections, proximity, boundaries, area, clustering and heatmap generation for LatLng points.
AI-written summary of version 0.2.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need quick geospatial math without external services
- You want a lightweight, pure Dart solution for map calculations
- You need clustering or heatmap generation for a set of points
Skip it when
- You require real-time GPS tracking or map rendering
- You need integration with Google Maps or other map SDKs
- You need advanced geofencing or location services beyond basic math
Strengths
- Pure Dart, no native dependencies
- All methods are static, easy to call
- Supports multiple clustering algorithms and heatmap generation
Weaknesses
- No map rendering or location services
- Limited to calculations, not UI widgets
- No support for platform-specific permissions
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add dependency to pubspec and import package
import 'package:flutter_map_math/flutter_map_math.dart';
double dist = FlutterMapMath.distanceBetween(37.4219999, -122.0840575, 37.4220011, -122.0866519, "meters");Alternatives
Packages that do the same job and could replace flutter_map_math.
- google_maps_flutter_web
Web platform implementation of google_maps_flutter.
88Compare - google_maps_flutter_android
Android implementation of the google_maps_flutter plugin.
82Compare - google_maps_flutter_ios
iOS implementation of the google_maps_flutter plugin.
81Compare - google_maps_flutter
A Flutter plugin for integrating Google Maps in Android, iOS, and web applications.
90Compare
Works with
Packages commonly used together with flutter_map_math: ones it builds on, ones built on it, and its own family.