Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LengthsParameters

Hierarchy

Index

Properties

calculationType

calculationType: "planar" | "geodesic" | "preserve-shape"

Defines the type of calculation for the geometry.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

geodesic

geodesic: boolean

If polylines are in a geographic coordinate system, then geodesic needs to be set to true in order to calculate the ellipsoidal shortest path distance between each pair of the vertices in the polylines.

Read more...

initialized

initialized: boolean

lengthUnit

lengthUnit: string | number

The length unit in which perimeters of polygons will be calculated.

Read more...

polylines

polylines: Polyline[]

The array of polylines whose lengths are to be computed.

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 LengthsParameters

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 LengthsParameters

  • Parameters

    Returns LengthsParameters

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