Need help with flutter_geocoder?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

aloisdeniel
134 Stars 68 Forks MIT License 24 Commits 30 Opened issues

Description

Flutter plugin for forward and reverse geocoding

Services available

!
?

Need anything else?

Contributors list

# 41,523
Xamarin
c-sharp
Dart
skia
11 commits
# 267,348
Dart
video-p...
HTML
Flutter
6 commits
# 54,619
Dart
Redux
Flutter
Angular
1 commit

geocoder

Forward and reverse geocoding.

Usage

Import

package:geocoder/geocoder.dart
, and use the
Geocoder.local
to access geocoding services provided by the device system.

Example:

import 'package:geocoder/geocoder.dart';

// From a query final query = "1600 Amphiteatre Parkway, Mountain View"; var addresses = await Geocoder.local.findAddressesFromQuery(query); var first = addresses.first; print("${first.featureName} : ${first.coordinates}");

// From coordinates final coordinates = new Coordinates(1.10, 45.50); addresses = await Geocoder.local.findAddressesFromCoordinates(coordinates); first = addresses.first; print("${first.featureName} : ${first.addressLine}");

You can alternatively use

Geocoder.google
member for requesting distant data from google services instead of native ones.

You will find links to the API docs on the pub page.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.