Class EsriPoint

Hierarchy

Constructors

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
latitude: number

The latitude of the point.

Read more...

longitude: number

The longitude of the point.

Read more...

m: number

The m-coordinate of the point in map units.

Default

undefined

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#m)
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"

The string value representing the type of geometry.

Read more...

x: number

The x-coordinate (easting) of the point in map units.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#x)
y: number

The y-coordinate (northing) of the point in map units.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#y)
z: number

The z-coordinate (or elevation) of the point in map units.

Default

undefined

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#z)

Methods

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriPoint

  • Type Parameters

    • T

    Parameters

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

    Returns void

  • Copies all values from another Point instance.

    Read more...

    Parameters

    Returns void

  • Returns void

  • Computes the Euclidean distance between this Point and a given Point.

    Read more...

    Parameters

    Returns number

  • Determines if the input point is equal to the point calling the function.

    Read more...

    Parameters

    Returns boolean

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns boolean

  • Modifies the point geometry in-place by shifting the X-coordinate to within +/- 180 span in map units.

    Read more...

    Returns EsriPoint

  • 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 EsriPoint

  • Parameters

    • props: HashMap<any>

    Returns EsriPoint

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc