Class EsriExtent

Hierarchy

Constructors

  • The minimum and maximum X and Y coordinates of a bounding box.

    Read more...

    Parameters

    • Optional properties: ExtentProperties

    Returns EsriExtent

Properties

cache: any

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

Read more...

center: EsriPoint

The center point of the extent in map units.

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...

height: number

The height of the extent in map units (the distance between ymin and ymax).

Read more...

initialized: boolean
mmax: number

The maximum possible m value in an extent envelope.

Default

undefined

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#mmax)
mmin: number

The minimum possible m value of an extent envelope.

Default

undefined

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

The geometry type.

Read more...

width: number

The width of the extent in map units (the distance between xmin and xmax).

Read more...

xmax: number

The maximum X-coordinate of an extent envelope.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#xmax)
xmin: number

The minimum X-coordinate of an extent envelope.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#xmin)
ymax: number

The maximum Y-coordinate of an extent envelope.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#ymax)
ymin: number

The minimum Y-coordinate of an extent envelope.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#ymin)
zmax: number

The maximum possible z, or elevation, value in an extent envelope.

Default

undefined

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#zmax)
zmin: number

The minimum possible z, or elevation, value of an extent envelope.

Default

undefined

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

Methods

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriExtent

  • Type Parameters

    • T

    Parameters

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

    Returns void

  • Checks if the input geometry is contained within the extent.

    Read more...

    Parameters

    Returns boolean

  • Returns void

  • Indicates if the input extent is equal to the testing extent.

    Read more...

    Parameters

    Returns boolean

  • Expands the extent by the given factor.

    Read more...

    Parameters

    • factor: number

    Returns EsriExtent

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns boolean

  • Shrinks the original extent to the intersection with the input extent.

    Read more...

    Parameters

    Returns EsriExtent

  • Tests to validate if the input geometry intersects the extent and returns a Boolean value.

    Read more...

    Parameters

    Returns boolean

  • Returns an array with either one Extent that's been shifted to within +/- 180 or two Extents if the original extent intersects the International Dateline.

    Read more...

    Returns EsriExtent[]

  • Parameters

    • propertyName: string

    Returns void

  • Modifies the extent geometry in-place with X and Y offsets in map units.

    Read more...

    Parameters

    • dx: number
    • dy: number
    • dz: number

    Returns EsriExtent

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

  • Parameters

    • props: HashMap<any>

    Returns EsriExtent

  • Expands the original extent to include the extent of the input Extent.

    Read more...

    Parameters

    Returns EsriExtent

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc