Class EsriGeometry

Hierarchy

Constructors

  • The base class for geometry objects.

    Read more...

    Parameters

    • Optional properties: GeometryProperties

    Returns EsriGeometry

Properties

cache: any

The cache is used to store values computed from geometries that need to be cleared or recomputed upon mutation.

Read more...

declaredClass: string
destroyed: boolean
extent: EsriExtent

The extent of the geometry.

Read more...

hasM: boolean

Indicates if the geometry has M values.

Read more...

hasZ: boolean

Indicates if the geometry has z-values (elevation).

Read more...

initialized: boolean
spatialReference: EsriSpatialReference

The spatial reference of the geometry.

Default

WGS84 (wkid: 4326)

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html#spatialReference)
type: "point" | "multipoint" | "polyline" | "polygon" | "extent" | "mesh"

The geometry type.

Read more...

Methods

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriGeometry

  • Type Parameters

    • T

    Parameters

    • handles: IHandle | IHandle[]
    • Optional groupKey: Exclude<T, IHandle>

    Returns void

  • Returns void

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns boolean

  • Parameters

    • propertyName: string

    Returns void

  • Deprecated

    Since 4.25. Use addHandles(), removeHandles() and hasHandles() instead.

    Parameters

    • handles: IHandle | IHandle[]

    Returns void

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns void

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriGeometry

  • Parameters

    • props: HashMap<any>

    Returns EsriGeometry

  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

  • Parameters

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

    Returns WatchHandle

  • Parameters

    • json: any

    Returns EsriGeometry

Generated using TypeDoc