location_geocoder

Creator: coderz1093

Last updated:

Add to Cart

Description:

location geocoder

location_geocoder #
Flutter package to convert latitude/longitude to address and from address to latitude/longitude.
provides easy geocoding and reverse-geocoding features. ( geocoder )
uses goolgle's location api
Getting Started #
To Get Address from Coordinates
const _apiKey = 'YOUR_MAP_API_KEY';
final LocatitonGeocoder geocoder = LocatitonGeocoder(_apiKey);
final address = await geocoder
.findAddressesFromCoordinates(Coordinates(9.9312, 76.2673));
print(address.first.addressLine);
copied to clipboard
To Get Coordinates from Address
const _apiKey = 'YOUR_MAP_API_KEY';
final LocatitonGeocoder geocoder = LocatitonGeocoder(_apiKey);
final address = await geocoder.findAddressesFromQuery('kochi,kerala');;
print(address.first.coordinates);
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.