Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TravelMode

Hierarchy

Index

Properties

attributeParameterValues

attributeParameterValues: TravelModeAttributeParameterValues[]

Lists the parameterized attributes used by the travel mode.

Read more...

declaredClass

declaredClass: string

description

description: string

A short text description of the travel mode.

Read more...

destroyed

destroyed: boolean

distanceAttributeName

distanceAttributeName: string

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

Read more...

id

id: string

The unique identifier.

Read more...

impedanceAttributeName

impedanceAttributeName: string

The network cost attribute used as impedance.

Read more...

initialized

initialized: boolean

name

name: string

The unique name of the travel mode.

Read more...

restrictionAttributeNames

restrictionAttributeNames: string[]

The list of the restriction attributes used when solving network analysis problems with this travel mode.

Read more...

simplificationTolerance

simplificationTolerance: number

Specifies whether the travel mode generalizes the geometry of analysis results and by how much.

Read more...

simplificationToleranceUnits

simplificationToleranceUnits: "millimeters" | "centimeters" | "decimeters" | "meters" | "kilometers" | "inches" | "feet" | "yards" | "miles" | "nautical-miles" | "decimal-degrees" | "points"

The linear units associated with simplificationTolerance.

Read more...

timeAttributeName

timeAttributeName: string

Indicates the time-based cost attribute for reporting directions.

Read more...

type

type: "automobile" | "truck" | "walk" | "other"

Indicates the category of travel or vehicle represented by this travel mode.

Read more...

useHierarchy

useHierarchy: boolean

Indicates whether the travel mode uses a hierarchy attribute while performing the analysis.

Read more...

uturnAtJunctions

uturnAtJunctions: "allow-backtrack" | "at-dead-ends-only" | "no-backtrack" | "at-dead-ends-and-intersections"

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

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): TravelMode
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TravelMode

clone

  • Returns a deep clone of the travel mode object.

    Read more...

    Returns TravelMode

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TravelMode

  • Parameters

    Returns TravelMode

toJSON

  • toJSON(): any
  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc