本文介紹了從 iPhone 轉發地理編碼的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
鑒于今天的 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 轉發地理編碼的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!