dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

TravelMode Class

A TravelMode is a set of characteristics that define how an object like a vehicle, bicycle, or pedestrian moves along a street network. ArcGIS Maps SDK for JavaScript

public record TravelMode : System.IEquatable<dymaptic.GeoBlazor.Pro.Model.TravelMode>

Inheritance System.Object 🡒 TravelMode

Implements System.IEquatable<TravelMode>

Constructors

TravelMode(IReadOnlyCollection, string, DistanceAttributeName, ImpedanceAttributeName, string, IReadOnlyCollection, double, SimplificationToleranceUnits, TravelTimeAttribute, TravelModeType, bool, UTurnAtJunctions, string, string) Constructor

A TravelMode is a set of characteristics that define how an object like a vehicle, bicycle, or pedestrian moves along a street network. ArcGIS Maps SDK for JavaScript

public TravelMode(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Pro.Model.TravelModeAttributeParameterValues> AttributeParameterValues, string Description, dymaptic.GeoBlazor.Pro.Enums.DistanceAttributeName DistanceAttributeName, dymaptic.GeoBlazor.Pro.Enums.ImpedanceAttributeName ImpedanceAttributeName, string Name, System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Pro.Enums.RestrictionAttribute> RestrictionAttributeNames, double SimplificationTolerance, dymaptic.GeoBlazor.Pro.Enums.SimplificationToleranceUnits SimplificationToleranceUnits, dymaptic.GeoBlazor.Pro.Enums.TravelTimeAttribute TimeAttributeName, dymaptic.GeoBlazor.Pro.Enums.TravelModeType Type, bool UseHierarchy, dymaptic.GeoBlazor.Pro.Enums.UTurnAtJunctions UTurnAtJunctions, string Id, string? TravelModeId=null);

Parameters

AttributeParameterValues System.Collections.Generic.IReadOnlyCollection<TravelModeAttributeParameterValues>

Lists the parameterized attributes used by the travel mode. ArcGIS Maps SDK for JavaScript

Description System.String

A short text description of the travel mode. ArcGIS Maps SDK for JavaScript

DistanceAttributeName DistanceAttributeName

Indicates the distance-based cost attribute for reporting directions and for solving vehicle routing problems. ArcGIS Maps SDK for JavaScript

ImpedanceAttributeName ImpedanceAttributeName

The network cost attribute used as impedance. ArcGIS Maps SDK for JavaScript

Name System.String

The unique name of the travel mode. ArcGIS Maps SDK for JavaScript

RestrictionAttributeNames System.Collections.Generic.IReadOnlyCollection<RestrictionAttribute>

The list of the restriction attributes used when solving network analysis problems with this travel mode. ArcGIS Maps SDK for JavaScript

SimplificationTolerance System.Double

Specifies whether the travel mode generalizes the geometry of analysis results and by how much. ArcGIS Maps SDK for JavaScript

SimplificationToleranceUnits SimplificationToleranceUnits

The linear units associated with simplificationTolerance. ArcGIS Maps SDK for JavaScript

TimeAttributeName TravelTimeAttribute

Indicates the time-based cost attribute for reporting directions. ArcGIS Maps SDK for JavaScript

Type TravelModeType

Indicates the category of travel or vehicle represented by this travel mode. ArcGIS Maps SDK for JavaScript

UseHierarchy System.Boolean

Indicates whether the travel mode uses a hierarchy attribute while performing the analysis. ArcGIS Maps SDK for JavaScript

UTurnAtJunctions UTurnAtJunctions

Indicates how the U-turns at junctions that could occur during network traversal are handled by the solver.

Id System.String

The unique identifier.

TravelModeId System.String

The unique identifier. ArcGIS Maps SDK for JavaScript

Properties

TravelMode.AttributeParameterValues Property

Lists the parameterized attributes used by the travel mode. ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Pro.Model.TravelModeAttributeParameterValues> AttributeParameterValues { get; init; }

Property Value

System.Collections.Generic.IReadOnlyCollection<TravelModeAttributeParameterValues>

TravelMode.Description Property

A short text description of the travel mode. ArcGIS Maps SDK for JavaScript

public string Description { get; init; }

Property Value

System.String

TravelMode.DistanceAttributeName Property

Indicates the distance-based cost attribute for reporting directions and for solving vehicle routing problems. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Enums.DistanceAttributeName DistanceAttributeName { get; init; }

Property Value

DistanceAttributeName

TravelMode.Id Property

The unique identifier.

public string Id { get; init; }

Property Value

System.String

TravelMode.ImpedanceAttributeName Property

The network cost attribute used as impedance. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Enums.ImpedanceAttributeName ImpedanceAttributeName { get; init; }

Property Value

ImpedanceAttributeName

TravelMode.Name Property

The unique name of the travel mode. ArcGIS Maps SDK for JavaScript

public string Name { get; init; }

Property Value

System.String

TravelMode.RestrictionAttributeNames Property

The list of the restriction attributes used when solving network analysis problems with this travel mode. ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Pro.Enums.RestrictionAttribute> RestrictionAttributeNames { get; init; }

Property Value

System.Collections.Generic.IReadOnlyCollection<RestrictionAttribute>

TravelMode.SimplificationTolerance Property

Specifies whether the travel mode generalizes the geometry of analysis results and by how much. ArcGIS Maps SDK for JavaScript

public double SimplificationTolerance { get; init; }

Property Value

System.Double

TravelMode.SimplificationToleranceUnits Property

The linear units associated with simplificationTolerance. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Enums.SimplificationToleranceUnits SimplificationToleranceUnits { get; init; }

Property Value

SimplificationToleranceUnits

TravelMode.TimeAttributeName Property

Indicates the time-based cost attribute for reporting directions. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Enums.TravelTimeAttribute TimeAttributeName { get; init; }

Property Value

TravelTimeAttribute

TravelMode.TravelModeId Property

The unique identifier. ArcGIS Maps SDK for JavaScript

public string? TravelModeId { get; init; }

Property Value

System.String

TravelMode.Type Property

Indicates the category of travel or vehicle represented by this travel mode. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Enums.TravelModeType Type { get; init; }

Property Value

TravelModeType

TravelMode.UseHierarchy Property

Indicates whether the travel mode uses a hierarchy attribute while performing the analysis. ArcGIS Maps SDK for JavaScript

public bool UseHierarchy { get; init; }

Property Value

System.Boolean

TravelMode.UTurnAtJunctions Property

Indicates how the U-turns at junctions that could occur during network traversal are handled by the solver.

public dymaptic.GeoBlazor.Pro.Enums.UTurnAtJunctions UTurnAtJunctions { get; init; }

Property Value

UTurnAtJunctions