How to display a custom route on SKmap

前端 未结 1 1148
醉梦人生
醉梦人生 2021-01-19 13:19

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 Androi

相关标签:
1条回答
  • 2021-01-19 13:58

    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

    0 讨论(0)
提交回复
热议问题