UIMapView iPad - Address look up

烂漫一生 提交于 2019-12-25 03:45:36

问题


Our app has addresses like "123 Main St, Perth, Wa, 6554, Australia"

We need to display a map with that address. Is there a way to get the UIMap view to lookup the address and display?

Normally we'd have the Lat/Long and would just put that in with a pin annotation.


回答1:


You can use Google's Geocoding Api to first get Lat/Long for the address, and then load that in UIMapView.



来源:https://stackoverflow.com/questions/6421493/uimapview-ipad-address-look-up

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!