google_geocoder_krutus 0.0.1 copy "google_geocoder_krutus: ^0.0.1" to clipboard
google_geocoder_krutus: ^0.0.1 copied to clipboard

A flutter plugin to Geocode or Reverse Geocode your coordinates or address strings using Google Maps Geocoder API.

Description #

A flutter plugin to Geocode or Reverse Geocode your coordinates or address strings using Google Maps Geocoder API.

Features #

Forward Geocoding

Converting Street or Address String into relevent Address Data using Google Maps Geocoder API.

Reverse Geocoding

Converting Coordinates into relevant Address Data using Google Maps Geocoder API.

Place ID Geocoding

Converting Place ID into relevant Address Data using Google Maps Geocoder API.

Usage #

Import package:google_geocoder_krutus/google_geocoder_krutus.dart, and use the GoogleGeocoderKrutus to access geocoding services provided by the device system.

Example:

package:google_geocoder_krutus/google_geocoder_krutus.dart

GeocoderResponse? reverseGeocode = await GoogleGeocoderKrutus.reverseGeoCode(
    apiKey: '<GOOGLE MAPS API KEY>',
    coordinates: Coordinates(latitude: 0, longitude: 0),
);

GeocoderResponse? addressQuery = await GoogleGeocoderKrutus.addressQuery(
    apiKey: '<GOOGLE MAPS API KEY>',
    address: '<ADDRESS STRING TO QUERY>',
);

GeocoderResponse? placeID = await GoogleGeocoderKrutus.placeID(
    apiKey: '<GOOGLE MAPS API KEY>',
    placeId: '<PLACE ID TO QUERY>',
);
5
likes
0
pub points
52%
popularity

Publisher

unverified uploader

A flutter plugin to Geocode or Reverse Geocode your coordinates or address strings using Google Maps Geocoder API.

License

unknown (LICENSE)

Dependencies

flutter, http

More

Packages that depend on google_geocoder_krutus