Showing a route between two points with multiple waypoints

前端 未结 3 1839
温柔的废话
温柔的废话 2020-12-19 18:44

I am new to android and developing a navigation based application for android.My question is I want to show a route with multiple way-points between source and destination n

3条回答
  •  太阳男子
    2020-12-19 18:49

    "I have search for this but most of the results are for two points." You already found everything you need to do this.

    For this, you're not "drawing through the waypoints along the way," you're actually going to have to draw a route between 2 points for each waypoint you have:

    IE. You want to get from point A to point D, and on the way there are points B and C. The solution is to draw a route from A to B, B to C, and finally C to D.

提交回复
热议问题