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

Public Member Functions

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

Properties

string type [get, set]
 Gets or sets the type of geometry. More...
 
List< List< double[]> > coordinates [get, set]
 Gets or sets the coordinates that represents the points along a route. More...
 

Detailed Description

The GeoJson geometry class.

Constructor & Destructor Documentation

◆ GeoJsonGeometry() [1/2]

Initializes a new instance of the GeoJsonGeometry class.

◆ GeoJsonGeometry() [2/2]

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

Initializes a new instance of the GeoJsonGeometry class.

Parameters
routeCoordinatesThe points along a route.
geometryTypeThe type of geometry.

Property Documentation

◆ type

string type
getset

Gets or sets the type of geometry.

◆ coordinates

List<List<double[]> > coordinates
getset

Gets or sets the coordinates that represents the points along a route.