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
159 Stars 116 Forks MIT License 30 Commits 38 Opened issues

Description

Flutter plugin for forward and reverse geocoding

Services available

!
?

Need anything else?

Contributors list

# 39,836
Xamarin
c-sharp
designp...
Dart
15 commits
# 256,755
Dart
Kotlin
Flutter
geocodi...
6 commits
# 54,269
Dart
Angular
Groovy
lru
1 commit
# 480,094
Blockch...
C++
Shell
Dart
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.