Share via


CalculatedRouteRepresentation Class

CalculatedRouteRepresentation Class

Contains a binary representation of a route. You can pass the CalculatedRouteRepresentation class to other methods to create a highlighted route on a map.


Public Class CalculatedRouteRepresentation Inherits System.Object


[C#]

public class CalculatedRouteRepresentation : System.Object

Public Properties

Name Description
public propertyBits

A binary object that holds the representation of a route.

Remarks

  • The CalculatedRouteRepresentation object contains binary data used by MapPoint Web Service to generate route maps.

  • You can use the CalculatedRouteRepresentation object to create multiple maps by passing it to the RenderServiceSoap.GetMap method multiple times. However, the object is not intended for long-term storage. Instead, you should store the information that was used to create the CalculatedRouteRepresentation object, such as the waypoints and segment options.

  • By default, the CalculatedRouteRepresentation object is returned as part of a Route object. Depending on the route length and complexity, the CalculatedRouteRepresentation object may be quite large. If you do not need the CalculatedRouteRepresentation object returned as part of the Route object, set the ResultMask property to RouteResultMask.Itinerary.

See Also

  Route Class   |   RouteServiceSoap.CalculateRoute Method   |   RenderServiceSoap.GetMap Method