Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DirectionsFeatureSet

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

displayFieldName

displayFieldName: string

The name of the layer's primary display field.

Read more...

exceededTransferLimit

exceededTransferLimit: boolean

Typically, a layer has a limit on the number of features (i.e., records) returned by the query operation.

Read more...

extent

extent: Extent

The extent of the route.

Read more...

features

features: Graphic[]

The array of graphics returned from a task.

Read more...

fields

fields: Field[]

Information about each field.

Read more...

geometryType

geometryType: "polyline"

The geometry type of the FeatureSet.

Read more...

initialized

initialized: boolean

mergedGeometry

mergedGeometry: Polyline

A single polyline representing the route.

Read more...

queryGeometry

queryGeometry: Geometry

The geometry used to query the features.

Read more...

routeId

routeId: string

The ID of the route returned from the server.

Read more...

routeName

routeName: string

Name specified in RouteParameters.stops.

Read more...

spatialReference

spatialReference: SpatialReference

When a FeatureSet is used as input to Geoprocessor, the spatial reference is set to the map's spatial reference by default.

Read more...

strings

strings: any[]

Lists additional information about the directions depending on the value of RouteParameters.directionsOutputType.

Read more...

totalDriveTime

totalDriveTime: number

Actual drive time calculated for the route.

Read more...

totalLength

totalLength: number

The length of the route as specified in the units set in RouteParameters.directionsLengthUnits.

Read more...

totalTime

totalTime: number

The total time calculated for the route as specified in the units set in RouteParameters.directionsTimeAttribute.

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

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns DirectionsFeatureSet

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 DirectionsFeatureSet

  • Parameters

    Returns DirectionsFeatureSet

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