Navigate control. Examples. DecoJson extension

3.- Get the way_points. Coordinates of changes of direction. DecoJson extension.

p49_bi_mapaNavigation_waypoints.aia (583.4 KB)

Let's look at this example, I've used the DecoJson extension to make it easy to get data.

Through the ResponseContent block we get a lot of information about the route. Look at the way_points.

Through "features..properties..way_points" we obtain the change of direction points. The way_points.

  • This route is composed of 20 coordinate points. The start coordinate is 0.1. The points of each direction change segment are marked in blue. The final arrival point is 19.19.

  • To obtain the direction change coordinates we must relate the way_points to the set of points.
3 Likes