PC*MILER|Rail Web Services
Public Member Functions | Properties | List of all members
RouteResponse Class Reference

Public Member Functions

 RouteResponse ()
 Initializes a new instance of the RouteResponse class. More...
 
 RouteResponse (GeoJsonGeometry jsonGeometry, string type)
 Initializes a new instance of the RouteResponse class. More...
 
 RouteResponse (List< List< double[]>> routeCoordinates, string type, string geometryType)
 Initializes a new instance of the RouteResponse class. More...
 

Properties

string type [get, set]
 Gets or sets the response type. More...
 
GeoJsonGeometry geometry [get, set]
 Gets or sets the route points. More...
 

Detailed Description

Represents a RouteResponse structure containing the route points that represent the route on a map.

Constructor & Destructor Documentation

◆ RouteResponse() [1/3]

Initializes a new instance of the RouteResponse class.

◆ RouteResponse() [2/3]

RouteResponse ( GeoJsonGeometry  jsonGeometry,
string  type 
)

Initializes a new instance of the RouteResponse class.

Parameters
jsonGeometryThe structure that represents the route points geometry..
typeThe type of response

◆ RouteResponse() [3/3]

RouteResponse ( List< List< double[]>>  routeCoordinates,
string  type,
string  geometryType 
)

Initializes a new instance of the RouteResponse class.

Parameters
routeCoordinatesThe route points
typeThe type of response.
geometryTypeThe type of geometry.

Property Documentation

◆ type

string type
getset

Gets or sets the response type.

◆ geometry

GeoJsonGeometry geometry
getset

Gets or sets the route points.