Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在设计一个使用两个文本字段的项目。一个用于源地址,另一个用于目标地址。
现在,我想获取两个地址的纬度和经度,然后将其绘制在地图视图上。
我怎样才能做到这一点?
检查此帖子以进行地理编码
http://fredandrandall.com/blog/2011/03/23/geocoding-on-the-iphone-getting-the-latitude-and-longitude-of-an-address/
如何在 iPhone 上进行地理编码(不是反向地理编码)?
请检查SVGeocoder。它能够通过 Google API 执行正向和反向地理编码。更不用说它也很容易使用。