Section 7.4. Where Are We?


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.




Programming MapPoint in  .NET
Programming MapPoint in .NET
ISBN: 0596009062
EAN: 2147483647
Year: 2005
Pages: 136
Authors: Chandu Thota

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net