maps_tracking_toolbox 0.0.2
maps_tracking_toolbox: ^0.0.2 copied to clipboard
A Flutter package providing utility functions for real-time location tracking, distance calculations, and route management for maps-based applications.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.2 - 2025-10-16 #
Changed #
- Added type annotation for
degToRadfunction parameter for improved type safety and better IDE support
0.0.1 - 2025-10-16 #
Added #
- Initial release of Maps Tracking Tools
convertToKM- Calculate distance between two LatLng coordinates using Haversine formulagetDistanceFromLatLonInKm- Async distance calculation from LocationData to LatLngdegToRad- Convert degrees to radiansreturnHeading- Normalize compass headings to 0-359 rangereCallDirectionsApi- Detect route deviations and determine if recalculation is neededupdateStepsIfNeeded- Update navigation steps based on current polylineupdateDistanceOnActiveStep- Calculate distance between rider and current step endpoint- Support for Google Maps Flutter integration
- Support for Location and Geolocator packages
- Comprehensive documentation and code examples
- Unit tests for all core functions