polygon_checker 1.2.0
polygon_checker: ^1.2.0 copied to clipboard
A lightweight Dart utility to check whether a point lies inside polygon locations.
Changelog #
1.2.0 - 2025-01-24 #
- Added
getInsideOfficePolygonandgetInsideOrNearOfficePolygonmethods to return the fullPolygonLocationobject (ID, name, and points) upon a match. - Refactored boolean check methods to use the new retrieval logic.
- Updated documentation with examples for retrieving location details.
1.1.0 - 2025-01-24 #
- Added
isInsideOrNearAnyOfficePolygonmethod to check if a location is within a certain distance (e.g., 50 meters) of a polygon boundary. - Added Haversine formula and point-to-segment distance calculations for accurate meter-based measurements.
1.0.0 - 2025-12-18 #
- Initial release
- Added PolygonChecker with models and utility functions