yandex_geocoder
2.3.1, released 3 years ago by madbrains.ru
API to translate geographic coordinates into an address and vice versa using Yandex.
What it does
Allows direct geocoding to convert addresses into coordinates and reverse geocoding to get addresses from coordinates using the Yandex API. Supports specifying answer languages, regional features, and search area restrictions.
AI-written summary of version 2.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to implement address search and reverse geocoding using Yandex maps data.
- Your application targets regions where Yandex map data provides superior accuracy.
Skip it when
- You require offline geocoding capabilities without network access.
- You prefer to use alternative mapping providers like Google Maps or OpenStreetMap.
Strengths
- Supports both direct and reverse geocoding.
- Handles common misprints in address search and offers multiple variants.
- Cross-platform support across Android, iOS, Web, Windows, macOS, and Linux.
Weaknesses
- Requires a Yandex API key to function.
- Dependent on an external network API service.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 3
Obtain a Yandex API key from the developer personal account and provide it to the YandexGeocoder constructor.
final YandexGeocoder geocoder = YandexGeocoder(apiKey: 'Your Api Key');
final GeocodeResponse geocodeFromAddress = await geocoder.getGeocode(DirectGeocodeRequest(
addressGeocode: 'Moscow, 4th Tverskaya-Yamskaya street, 7',
lang: Lang.enEn,
));Alternatives
Packages that do the same job and could replace yandex_geocoder.
- google_places_sdk_flutter
Google Places autocomplete for addresses and locations returning coordinates and parsed addresses.
75Compare - geodart
A geospatial library for Dart for working with vector features and geographic data.
59Compare - geocode
Package to translate coordinates into locations and addresses into coordinates.
50Compare - flutter_map_math
Utility library for common geospatial calculations in Flutter
44Compare
Works with
Packages commonly used together with yandex_geocoder: ones it builds on, ones built on it, and its own family.