鉴于今天的 mapkit 不提供前向地理编码功能,任何人都可以提供有关我如何使用搜索栏从今天用户输入的地址返回纬度和经度坐标的帮助.如果有人能提供示例代码那就太好了.
Given that the mapkit doesn't provide forward geocoding functionality today, can anyone provide help on how I can i use a search bar to return a latitude and longitude coordinate from a user inputted address today. If someone can provide sample code that would be great.
iOS 5 现在允许转发地理编码:
iOS 5 now allows for forward Geocoding:
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/UsingGeocoders/UsingGeocoders.html#//apple_ref/doc/uid/TP40009497-CH4-SW5
我希望这会有所帮助!
这篇关于从 iPhone 转发地理编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!