Geocoder3
Forward and reverse geocoding is Easy Now. A flutter package to get details given coordinates and vice versa
Install / Use
/learn @rennylangat/Geocoder3README
geocoder3
Easy forward and reverse geocodeing From google maps api make sure to activate Maps SDK for android and ios and geocode api from <a href="https://console.cloud.google.com">Google Cloud Console</a>
Features
- Easy To Use
- No Errors
Code Example
import 'package:geocoder3/geocoder3.dart';
Get Data Form Coordinates
GeoData data = await Geocoder3.getDataFromCoordinates(
latitude: 40.714224,
longitude: -73.961452,
googleMapApiKey: "GOOGLE_MAP_API_KEY");
//Formated Address
print(data.address);
//City Name
print(data.city);
//Country Name
print(data.country);
//Country Code
print(data.countryCode);
//Latitude
print(data.latitude);
//Longitude
print(data.longitude);
//Postal Code
print(data.postalCode);
//State
print(data.state);
//Street Number
print(data.street_number);
Get Data From Address
GeoData data = await Geocoder3.getDataFromAddress(
address: "277 Bedford Ave, Brooklyn, NY 11211, USA",
googleMapApiKey: "GOOGLE_MAP_API_KEY");
//Formated Address
print(data.address);
//City Name
print(data.city);
//Country Name
print(data.country);
//Country Code
print(data.countryCode);
//Latitude
print(data.latitude);
//Longitude
print(data.longitude);
//Postal Code
print(data.postalCode);
//State
print(data.state);
//Street Number
print(data.street_number);
Both methods also have an optional language parameter to request the results in a specific language.
Here is the list of supported language codes.
Note :
If you don't have GOOGLE_MAP_API_KEY then you will use geocoder_buddy
Alternative
Buy Me A Coffee
<a href="https://www.buymeacoffee.com/rennylngtt"> <img src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-1.svg" height="50" target="_flutterbuddy"> </a>Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
