geocoder_pro 1.1.0
geocoder_pro: ^1.1.0 copied to clipboard
A powerful Flutter package for forward and reverse geocoding with Google Maps and free OpenStreetMap (Nominatim), spatial distance, and address utilities.
1.1.0 #
- OpenStreetMap (Nominatim) Support: Added 100% free geocoding provider without requiring an API key.
- Multi-Provider Architecture: Added
BaseGeocoder,GoogleGeocoder, andNominatimGeocoderwith flexible provider selection. - Multiple Results Support: Added
getAddressesFromAddressandgetAddressesFromCoordinatesacross all providers. - Spatial & Geolocation Utilities: Added
GeoUtilswith Haversine distance calculations (meters, km, miles), compass bearing calculation, geofencing radius checks, and DMS coordinate conversions. - Enhanced & Immutable Models: Refactored
GeoData,GeoCoordinates,GeoBounds, andGeoAddressComponentwithconstconstructors,copyWith, JSON/Map serialization, value equality, and hash code implementations. - Typed Exceptions: Added
GeocoderException,ApiKeyException,QuotaExceededException,NotFoundException, andNetworkExceptionfor reliable error handling. - Custom HTTP Client Support: Enabled dependency injection of
http.Clientacross providers for streamlined unit and integration testing. - Refreshed Material 3 Example App: Multi-tab interactive showcase with provider switching, live geocoding, preset queries, distance calculator, and raw JSON modal inspector.
- Full Backward Compatibility: Preserved all existing static API method signatures and legacy import shims.
- Quality & Linting: Elevated package compliance with strict Dart 3 type checking, 100% test pass rate across 33 unit tests, and 0 analyzer warnings.
1.0.3 #
- Added comprehensive documentation for all classes and methods
- Improved error handling in geocoding operations
- Added support for country codes in geocoding results
- Enhanced example application with Material Design 3 UI
- Added loading states and better error feedback in example app
1.0.2 #
- Initial release with basic geocoding functionality
- Support for address validation and standardization
- Basic error handling and response formatting
1.0.0 #
- Adding Location Type
- Read
README.md