v0.0.1+2flutter_nominatim
OpenStreetMap의 Nominatim 서비스를 사용하여 무료 지오코딩 및 장소 검색을 위한 플러터 플러그인으로 내장 최적화 기능이 있으며 API 키가 필요하지 않습니다.
OpenStreetMap의 Nominatim 서비스를 사용하여 무료 지오코딩 및 장소 검색을 위한 플러터 플러그인으로 내장 최적화 기능이 있으며 API 키가 필요하지 않습니다.
{"sdk":"flutter"}^5.3.2{"sdk":"flutter"}^3.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
https://raw.githubusercontent.com/YudizAndroidPayal/flutter_nominatim/main/screenshots/banner.gif
GitHub code size Pub License: MIT package publisher
Completely Free & Open Source! Unlike other geocoding services, Nominatim is 100% free to use with NO API key required. You can start implementing location features in your app immediately without any payment or API key setup.
| Place Search | Convert LatLng to Address | Convert Address to LatLng |
|---|---|---|
| https://raw.githubusercontent.com/YudizAndroidPayal/flutter_nominatim/main/screenshots/ss_search.png | https://raw.githubusercontent.com/YudizAndroidPayal/flutter_nominatim/main/screenshots/ss_geo1.png | https://raw.githubusercontent.com/YudizAndroidPayal/flutter_nominatim/main/screenshots/ss_geo2.png |
| Auto-complete search with realtime results | Convert coordinates to human-readable address | Convert address to geographical coordinates |
| Feature | Description | Benefit |
|---|---|---|
| 💰 Free Forever | No API key, no pricing tiers | Save hundreds of dollars compared to paid geocoding services |
| 🔑 No Authentication | No API keys or tokens needed | Quick implementation without setup hassle |
| 🌍 Global Coverage | Worldwide address database | Works everywhere your app does |
| 🚀 Easy Integration | Simple API methods | Get started in minutes |
| ⚡ Performance Optimized | Built-in rate limiting & caching | Smooth user experience |
| Service | Description | Example |
|---|---|---|
| Forward Geocoding | Convert address to coordinates | "London Bridge" → (51.5074, -0.1278) |
| Reverse Geocoding | Convert coordinates to address | (51.5074, -0.1278) → "London Bridge, London, UK" |
dependencies:
flutter_nominatim: ^1.0.0
// Initialize
final nominatim = Nominatim.instance;
// Search places
final results = await nominatim.search("London");
// Get address from coordinates
final address = await nominatim.getAddressFromLatLng(51.5074, -0.1278);
// Get coordinates from address
final coordinates = await nominatim.getLatLngFromAddress("London Bridge");
TextField(
controller: searchController,
decoration: const InputDecoration(
hintText: 'Search places...',
prefixIcon: Icon(Icons.search),
),
onChanged: (query) {
if (query.length >= 3) {
nominatim.search(query).then((results) {
// Handle results
});
}
},
)
| Parameter | Range/Format | Example |
|---|---|---|
| Latitude | -90 to 90 | 51.5074 |
| Longitude | -180 to 180 | -0.1278 |
| Search Query | Min 3 characters | "London" |
Nominatim is powered by OpenStreetMap, the world's largest collaborative mapping project. This means:
When using this plugin, include:
© OpenStreetMap contributors
We welcome:
MIT License - feel free to use in your projects!