Show / Hide Table of Contents

Class RouteExtensions

Contains extensions for the Route type.

Inheritance
System.Object
RouteExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class RouteExtensions

Methods

GetBox(Route)

Returns the bounding box around this route.

Declaration
public static GeoAPI.Geometries.Envelope GetBox(this Route route)
Parameters
Route route

Returns
GeoAPI.Geometries.Envelope

ToFeatureCollection(Route)

Converts this route to a feature collection.

Declaration
public static FeatureCollection ToFeatureCollection(this Route route)
Parameters
Route route

Returns
FeatureCollection

ToLineString(Route)

Converts this route to a linestring.

Declaration
public static LineString ToLineString(this Route route)
Parameters
Route route

Returns
LineString

Back to top Built by Itinero, MIT licensed.