CalculatedRouteRepresentation Class

CalculatedRouteRepresentation Class

Contains the representation of a calculated route. Used to create a route highlight on a rendered map.

Public Class CalculatedRouteRepresentation
    Member of [Namespace]
[C#]
public class CalculatedRouteRepresentation : System.Object
    Member of [Namespace]

Public Properties

public propertyBits A binary object holding the calculated route representation. Byte[].

Remarks

  • The CalculatedRouteRepresentation object can be generated as a property of the Route object created by the RouteServiceSoap.CalculateRoute method.
  • The same CalculatedRouteRepresentation object can be used to create multiple maps by passing it to the RenderServiceSoap.GetMap method multiple times.
  • The CalculatedRouteRepresentation object can be stored for future use; however, it can only be passed to the RenderServiceSoap.GetMap method on a render server that has the same version and data source as the route server that created it. It is not intended for long-term storage. Instead, store the information that was used to create the CalculatedRouteRepresentation object, such as the waypoints and segment options.

See Also

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