开发者

Forward geocoding on iOS

开发者 https://www.devze.com 2023-03-07 07:18 出处:网络
Map Kit currently only has support for reverse geocoding (coordinates to address), not forward geocoding (address to coordinates). I see another SO开发者_运维问答 post mentioned this, and a few people

Map Kit currently only has support for reverse geocoding (coordinates to address), not forward geocoding (address to coordinates). I see another SO开发者_运维问答 post mentioned this, and a few people posted their own solutions to the problem, but those answers are over a year old.

Is there still no standard solution to this (either from Apple or a robust, well-maintained library that keeps up with the APIs)? Is the best approach still to roll your own solution using the Google Maps APIs? I'd think this is a common enough problem that there would be something out there...


Unfortunately, that is still the case and the answers you mentioned are still the most relevant. I agree with you that it's a bit surprising this is the case, despite so-called licensing issues that make adding forward geocoding support to MapKit difficult.

I'm adding this link just in case you might have missed it, however. It's a good start if you want a nice Objective-C wrapper over Google's API:

http://blog.sallarp.com/ipad-iphone-forward-geocoding-api-google/


No, there is still no built in solution. However, the BS* library mentioned in the top answer from your link is fantastic. I've used it on two projects with out any issue.

http://blog.sallarp.com/ipad-iphone-forward-geocoding-api-google/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号