7.4. Where Are We?In this chapter, you have seen how a route is represented programmatically using MapPoint Web Service APIs. You learned that to calculate routes, you use the RouteServiceSoap.CalculateSimpleRoute and RouteServiceSoap.CalculateRoute methods. When a route is calculated, it contains route segments, and each segment contains a collection of directions. You can change the route distance units and the language used in describing driving directions using the UserInfoRouteHeader object. When displaying driving directions, you learned to use the DirectionAction enumeration to understand the type of directions contained in a Direction object. In the next chapter, we will learn how to render routes. |