Show / Hide Table of Contents

Class RouterExtensions

Contains router extensions for the heatmap 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

CalculateHeatmap(RouterBase, Profile, Coordinate, Int32, Int32)

Calculates heatmap for the given profile.

Declaration
public static HeatmapResult CalculateHeatmap(this RouterBase router, Profile profile, Coordinate origin, int limitInSeconds, int zoom = 16)
Parameters
RouterBase router

Profile profile

Coordinate origin

System.Int32 limitInSeconds

System.Int32 zoom

Returns
HeatmapResult

CalculateHeatmap(RouterBase, Profile, Coordinate, Int32, Int32, CancellationToken)

Calculates heatmap for the given profile.

Declaration
public static HeatmapResult CalculateHeatmap(this RouterBase router, Profile profile, Coordinate origin, int limitInSeconds, int zoom, CancellationToken cancellationToken)
Parameters
RouterBase router

Profile profile

Coordinate origin

System.Int32 limitInSeconds

System.Int32 zoom

CancellationToken cancellationToken

Returns
HeatmapResult

CalculateHeatmap(RouterBase, Profile, RouterPoint, Int32, Int32)

Calculates heatmap for the given profile.

Declaration
public static HeatmapResult CalculateHeatmap(this RouterBase router, Profile profile, RouterPoint origin, int limitInSeconds, int zoom = 16)
Parameters
RouterBase router

Profile profile

RouterPoint origin

System.Int32 limitInSeconds

System.Int32 zoom

Returns
HeatmapResult

CalculateHeatmap(RouterBase, Profile, RouterPoint, Int32, Int32, CancellationToken)

Calculates heatmap for the given profile.

Declaration
public static HeatmapResult CalculateHeatmap(this RouterBase router, Profile profile, RouterPoint origin, int limitInSeconds, int zoom, CancellationToken cancellationToken)
Parameters
RouterBase router

Profile profile

RouterPoint origin

System.Int32 limitInSeconds

System.Int32 zoom

CancellationToken cancellationToken

Returns
HeatmapResult

Back to top Built by Itinero, MIT licensed.