v1.0.2
geocoder_buddy
无需 API 密钥即可进行正向、反向地理编码和地址搜索。
30喜欢 373近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
无需 API 密钥即可进行正向、反向地理编码和地址搜索。
以下为英文项目原文快照,最新内容请访问 GitHub。
Run This Command in Terminal or Install in Your Way
flutter pub get geocoder_buddy
// GBSearchData Class Porvided By geocoder_buddy
List<GBSearchData> data = await GeocoderBuddy.query(query);
int placeId;
int id;
List<String> boundingbox;
String lat;
String lon;
String displayName;
int placeRank;
double importance;
// GBData Class Porvided By geocoder_buddy
GBData data = await GeocoderBuddy.searchToGBData(GBSearchData data);
GBLatLng position = GBLatLng(38.8951,-77.0364);
GBData data = await GeocoderBuddy.findDetails(position);
int placeId;
String osmType;
int id;
String lat;
String lon;
int placeRank;
double importance;
String displayName;
// Address Class Porvided By geocoder_buddy
Address address;
List<String> boundingbox;
String road;
String houseNumber;
String village;
String city;
String municipality;
String county;
String stateDistrict;
String state;
String iso31662Lvl4;
String postcode;
String country;
String countryCode;
See LICENSE
依赖清单 4 项
{"sdk":"flutter"}>=0.13.4 <2.0.0{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗