【发布时间】:2017-04-19 16:35:36
【问题描述】:
我找到了一种发送请求的方法:
Google Maps Geocoding API 请求采用以下形式:
https://maps.googleapis.com/maps/api/geocode/outputFormat?parameters 其中 outputFormat 可以是以下任一值:
json(推荐)以 JavaScript Object Notation 表示输出 (JSON);或 xml 表示以 XML 格式输出 访问 Google 地图 基于 HTTP 的地理编码 API,使用:
但是真的很不方便,swift中有没有原生的方式?
我查看了 GMSGeocoder 接口,它的 API 只能完成反向地理编码。
【问题讨论】:
标签: ios swift google-maps geocoding google-geocoding-api