Class EsriSpatialReference

Hierarchy

  • Accessor
  • JSONSupport
    • EsriSpatialReference

Constructors

  • Defines the spatial reference of a view, layer, or method parameters.

    Read more...

    Parameters

    • Optional properties: SpatialReferenceProperties

    Returns EsriSpatialReference

Properties

declaredClass: string
destroyed: boolean
imageCoordinateSystem: any

An image coordinate system defines the spatial reference used to display the image in its original coordinates without distortion, map transformations or ortho-rectification.

Read more...

initialized: boolean
isGeographic: boolean

Indicates if the spatial reference refers to a geographic coordinate system.

Read more...

isWGS84: boolean

Indicates if the wkid of the spatial reference object is 4326.

Read more...

isWebMercator: boolean

Indicates if the wkid of the spatial reference object is one of the following values: 102113, 102100, 3857.

Read more...

isWrappable: boolean

Indicates if the spatial reference of the map supports wrapping around the International Date Line.

Read more...

metersPerUnit: number

The factor to convert one unit value in the spatial reference's unit to meters.

Read more...

unit: null | "feet" | "meters" | "degrees" | "us-feet" | "clarke-feet" | "clarke-yards" | "clarke-links" | "sears-yards" | "sears-feet" | "sears-chains" | "benoit-1895-b-chains" | "indian-yards" | "indian-1937-yards" | "gold-coast-feet" | "sears-1922-truncated-chains" | "50-kilometers" | "150-kilometers"

The unit of the spatial reference.

Read more...

wkid: number

The well-known ID of a spatial reference.

Read more...

wkt: string

The well-known text that defines a spatial reference.

Read more...

A convenience spatial reference instance for WGS84.

Read more...

A convenience spatial reference instance for Web Mercator.

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 EsriSpatialReference

  • Type Parameters

    • T

    Parameters

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

    Returns void

  • Returns void

  • Checks if the specified spatial reference object has the same wkid or wkt as this spatial reference object.

    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

  • 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

  • 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

Generated using TypeDoc