Class RouterExtensions
Contains router extensions for the isochrone algorithm.
Inheritance
System.Object
RouterExtensions
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 RouterExtensions
Methods
CalculateIsochrones(RouterBase, Profile, Coordinate, List<Single>, Int32)
Calculates isochrones for the given profile based on the given limits.
Declaration
public static List<Polygon> CalculateIsochrones(this RouterBase router, Profile profile, Coordinate origin, List<float> limits, int zoom = 16)
Parameters
|
RouterBase
router
|
|
Profile
profile
|
|
Coordinate
origin
|
|
List<System.Single>
limits
|
|
System.Int32
zoom
|
Returns
|
List<Polygon>
|
CalculateIsochrones(RouterBase, Profile, Coordinate, List<Single>, Int32, CancellationToken)
Calculates isochrones for the given profile based on the given limits.
Declaration
public static List<Polygon> CalculateIsochrones(this RouterBase router, Profile profile, Coordinate origin, List<float> limits, int zoom, CancellationToken cancellationToken)
Parameters
|
RouterBase
router
|
|
Profile
profile
|
|
Coordinate
origin
|
|
List<System.Single>
limits
|
|
System.Int32
zoom
|
|
CancellationToken
cancellationToken
|
Returns
|
List<Polygon>
|
CalculateIsochrones(RouterBase, Profile, RouterPoint, List<Single>, Int32)
Calculates isochrones for the given profile based on the given limits.
Declaration
public static List<Polygon> CalculateIsochrones(this RouterBase router, Profile profile, RouterPoint origin, List<float> limits, int zoom = 16)
Parameters
|
RouterBase
router
|
|
Profile
profile
|
|
RouterPoint
origin
|
|
List<System.Single>
limits
|
|
System.Int32
zoom
|
Returns
|
List<Polygon>
|
CalculateIsochrones(RouterBase, Profile, RouterPoint, List<Single>, Int32, CancellationToken)
Calculates isochrones for the given profile based on the given limits.
Declaration
public static List<Polygon> CalculateIsochrones(this RouterBase router, Profile profile, RouterPoint origin, List<float> limits, int zoom, CancellationToken cancellationToken)
Parameters
|
RouterBase
router
|
|
Profile
profile
|
|
RouterPoint
origin
|
|
List<System.Single>
limits
|
|
System.Int32
zoom
|
|
CancellationToken
cancellationToken
|
Returns
|
List<Polygon>
|