因此,如果我们有一个当地的旅程规划,才有可能显示Skobbler地图上的路线?
So if we have a local journey planner, would it be possible to display the route on the Skobbler map?
是否有关于 SKMapSurfaceView
在Android SDK的任何方法传递的路线,以显示它?
Is there any method on SKMapSurfaceView
on Android SDK to pass a route to display it?
是 - drawTrackElement
您可以看到在演示工程,轨道菜单项的例子。
You can see an example in the demo project, the Tracks menu entry.
如果您有航路点/段列表,那么你可以得出它们使用的 SkPolyline - 参阅入门篇: HTTP: //developer.skobbler.com/getting-started/android#sec009
If you have the route points/list of segments, then you can draw them on the map using a SkPolyline - see the getting started chapter: http://developer.skobbler.com/getting-started/android#sec009