google_geocoding 0.1.4

Flutter Android iOS web

A new Flutter package for handle google geocoding api that geocoding and reverse geocoding requests are available

google_geocoding #

A Flutter plugin that provides a Google Geocoding API.

Preview #

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses.

The following requests are available:

  1. Geocoding is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), which you can use to place markers on a map, or position the map.
  2. Reverse geocoding is the process of converting geographic coordinates into a human-readable address.

You can also use the Geocoding API to find the address for a given place ID.

Usage #

To use this plugin, add google_geocoding as a dependency in your pubspec.yaml file.

Getting Started #

Example #

Sample Usage #

  • Geocoding
var googleGeocoding = GoogleGeocoding("Your-Key");
var risult = await googleGeocoding.geocoding.get("1600 Amphitheatre",null);
  • Reverse geocoding
var googleGeocoding = GoogleGeocoding("Your-Key");
var risult = await googleGeocoding.geocoding.getReverse(LatLon(40.714224,-73.961452));
6
likes
100
pub points
79%
popularity

A new Flutter package for handle google geocoding api that geocoding and reverse geocoding requests are available

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

bazrafkan.mb@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on google_geocoding