How to display a custom route on SKmap

自作多情 提交于 2019-12-20 00:02:56

问题


So if we have a local journey planner, would it be possible to display the route on the Skobbler map?

Is there any method on SKMapSurfaceView on Android SDK to pass a route to display it?


回答1:


Yes - drawTrackElement

You can see an example in the demo project, the Tracks menu entry.

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



来源:https://stackoverflow.com/questions/25190954/how-to-display-a-custom-route-on-skmap

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