How can I draw/specify a route on a dynamic Bing Map (using the Bing Maps iOS SDK)

 ̄綄美尐妖づ 提交于 2019-12-12 03:48:20

问题


I have looked for hours for what seems like it should be a trivial task. I simply want to draw a route through a series of waypoints (which I have as both address strings and geoCoordinates).

The Imagery API lets me do a query for a static map, which seems to be a common solution, but I was hoping to draw the route on the dynamic, interactive map provided by the Bing Maps iOS SDK.

Thank you.


回答1:


"draw the route on the dynamic, interactive map provided by the iOS SDK." Is this to say that you want to use MapKit on the iPhone?

If that's the case then you can look at this: http://iphonegeeksworld.wordpress.com/2010/09/08/drawing-routes-onto-mkmapview-using-unofficial-google-maps-directions-api/

The only problem with that is that you need to decode the polylines, which you can do by following links in that link and modifying that code to suit yourself.



来源:https://stackoverflow.com/questions/10264448/how-can-i-draw-specify-a-route-on-a-dynamic-bing-map-using-the-bing-maps-ios-sd

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