在iphone sdk中加载地图
在我的应用程序中,我需要通过传递地址、城市、州省代码和邮政编码来加载地图。 谁能告诉我我该怎么做?
In my app i need a map to loaded by passing address,city, state province code and postal code.
Can any one tell me how can i do it??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用以下内容:-
或者如果您不想打开谷歌地图而是在您的 MKMapView 上设置坐标...您可以对您的地址进行地理编码以获取坐标并最终在您的 MKMapview 上设置坐标区域..
You can use below :-
Or in case u dont want to open google maps and rather set the coordinates on ur MKMapView ... u can GeoCode ur address to get the coordinates and finally set the coordinate region on ur MKMapview ..
您是否尝试过在 Google 或 SO 上进行搜索?
这里是一个好的开始 http://blog.objectgraph.com/index.php/2009/04/02/iphone-sdk-30-playing-with-map-kit/
Did you even try searching on Google or SO?
A good start would be here http://blog.objectgraph.com/index.php/2009/04/02/iphone-sdk-30-playing-with-map-kit/