Class EsriImageryLayer

Hierarchy

  • Layer
  • ArcGISImageService
  • PortalLayer
  • RefreshableLayer
  • ScaleRangeLayer
  • TemporalLayer
  • BlendLayer
    • EsriImageryLayer

Constructors

Properties

bandIds: number[]

Defines a band combination using 0-based band indexes.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#bandIds)
blendMode: "screen" | "average" | "color-burn" | "color-dodge" | "color" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "invert" | "lighten" | "lighter" | "luminosity" | "minus" | "multiply" | "normal" | "overlay" | "plus" | "reflect" | "saturation" | "soft-light" | "source-atop" | "source-in" | "source-out" | "vivid-light" | "xor"

Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.

Default

normal

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#blendMode)
capabilities: ArcGISImageServiceCapabilities

Describes the layer's supported capabilities.

Read more...

compressionQuality: number

The compression quality value.

Read more...

compressionTolerance: number

Controls the tolerance of the lerc compression algorithm.

Default

0.01

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#compressionTolerance)
copyright: string

The copyright text as defined by the service.

Read more...

customParameters: any

A list of custom parameters appended to the URL of all resources fetched by the layer.

Read more...

declaredClass: string
definitionExpression: string

The SQL where clause used to filter rasters.

Read more...

destroyed: boolean
effect: Effect

Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to how image filters work.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#effect)
fields: EsriField[]

An array of fields in the layer.

Read more...

fieldsIndex: FieldsIndex

A convenient property that can be used to make case-insensitive lookups for a field by name.

Read more...

format: "png" | "png8" | "png24" | "png32" | "jpg" | "bmp" | "gif" | "jpgpng" | "lerc" | "tiff"

The format of the exported image.

Read more...

fullExtent: EsriExtent

The full extent of the layer.

Read more...

hasMultidimensions: boolean

Indicates if the layer has multidimensionalInfo.

Read more...

id: string

The unique ID assigned to the layer.

Read more...

imageMaxHeight: number

Indicates the maximum height of the image exported by the service.

Default

4100

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#imageMaxHeight)
imageMaxWidth: number

Indicates the maximum width of the image exported by the service.

Default

15000

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#imageMaxWidth)
initialized: boolean
interpolation: "nearest" | "bilinear" | "cubic" | "majority"

Defines how to interpolate pixel values.

Read more...

legendEnabled: boolean

Indicates whether the layer will be included in the legend.

Default

true

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#legendEnabled)
listMode: "show" | "hide" | "hide-children"

Indicates how the layer should display in the LayerList widget.

Default

"show"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode)
loadError: Error

The Error object returned if an error occurred while loading.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Loadable.html#loadError)
loadStatus: "loaded" | "loading" | "not-loaded" | "failed"

Represents the status of a load operation.

Default

not-loaded

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Loadable.html#loadStatus)
loadWarnings: any[]

A list of warnings which occurred while loading.

Read more...

loaded: boolean

Indicates whether the layer's resources have loaded.

Default

false

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#loaded)
maxScale: number

The maximum scale (most zoomed in) at which the layer is visible in the view.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#maxScale)
minScale: number

The minimum scale (most zoomed out) at which the layer is visible in the view.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#minScale)
mosaicRule: MosaicRule

Defines how overlapping images should be mosaicked.

Read more...

multidimensionalInfo: RasterMultidimensionalInfo

The multidimensional information associated with the layer if the layer's hasMultidimensions property is true.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#multidimensionalInfo)
multidimensionalSubset: MultidimensionalSubset

Represents a multidimensional subset of raster data.

Read more...

noData: number | number[]

The pixel value representing no available information.

Read more...

noDataInterpretation: "any" | "all"

Interpretation of the noData setting.

Read more...

objectIdField: string

The name of an oid field containing a unique value or identifier for each raster in the layer.

Read more...

opacity: number

The opacity of the layer.

Default

1

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#opacity)
pixelFilter: PixelFilterFunction

A function that processes pixelData.

Read more...

pixelType: "unknown" | "s8" | "s16" | "s32" | "u8" | "u16" | "u32" | "f32" | "f64"

Raster source pixel type.

Read more...

popupEnabled: boolean

Indicates whether to display popups when features in the layer are clicked.

Default

true

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#popupEnabled)
popupTemplate: PopupTemplate

The popup template for the layer.

Read more...

portalItem: PortalItem

The portal item from which the layer is loaded.

Read more...

rasterFields: EsriField[]

A complete list of fields that consists of raster attribute table fields, item pixel value, service pixel value, service pixel value with various server defined function templates, and raster attribute table fields.

Read more...

rasterFunctionInfos: RasterFunctionInfo[]

Returns raster function information for the image services, including the name, description, help, function type, and a thumbnail of pre-configured raster function templates.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#rasterFunctionInfos)
refreshInterval: number

Refresh interval of the layer in minutes.

Default

0

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#refreshInterval)
renderer: EsriUniqueValueRenderer | EsriClassBreaksRenderer | RasterStretchRenderer | RasterShadedReliefRenderer | RasterColormapRenderer | VectorFieldRenderer | FlowRenderer

The renderer assigned to the layer.

Read more...

renderingRule: RasterFunction

Specifies the rule for how the requested image should be rendered.

Read more...

serviceRasterInfo: RasterInfo

Source raster information of the image service.

Read more...

sourceJSON: any

The image service's metadata JSON exposed by the ArcGIS REST API.

Read more...

spatialReference: EsriSpatialReference

The spatial reference of the image service.

Read more...

timeExtent: TimeExtent

The layer's time extent.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#timeExtent)
timeInfo: TimeInfo

TimeInfo provides information such as date fields that store start and end time for each feature and the fullTimeExtent for the layer.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#timeInfo)
timeOffset: TimeInterval

A temporary offset of the time data based on a certain TimeInterval.

Default

null

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#timeOffset)
title: string

The title of the layer used to identify it in places such as the LayerList widget.

Read more...

type: "imagery"
url: string

The URL to the REST endpoint of the layer.

Read more...

useViewTime: boolean

Determines if the layer will update its temporal data based on the view's timeExtent.

Default

true

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#useViewTime)
version: number

The version of ArcGIS Server in which the image service is published.

Read more...

visible: boolean

Indicates if the layer is visible in the View.

Default

true

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#visible)

Methods

  • Parameters

    • propertyName: string

    Returns any

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriImageryLayer

  • Type Parameters

    • T

    Parameters

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

    Returns void

  • Cancels a load() operation if it is already in progress.

    Read more...

    Returns void

  • Computes the rotation angle of a ImageryLayer at a given location.

    Read more...

    Parameters

    • parameters: ImageAngleParameters | ImageAngleParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImageAngleResult>

  • Computes histograms based on the provided ImageHistogramParameters.

    Read more...

    Parameters

    • parameters: ImageHistogramParameters | ImageHistogramParametersProperties
    • Optional requestOptions: any

    Returns Promise<any>

  • Computes the corresponding pixel location in columns and rows for an image based on input geometry.

    Read more...

    Parameters

    • parameters: ImagePixelLocationParameters
    • Optional requestOptions: any

    Returns Promise<ImagePixelLocationResult>

  • Parameters

    • parameters: ImageHistogramParameters | ImageHistogramParametersProperties
    • Optional requestOptions: any

    Returns Promise<any>

  • Called by the views, such as MapView and SceneView, when the layer is added to the Map.layers collection and a layer view must be created for it.

    Read more...

    Parameters

    • view: any
    • Optional options: LayerCreateLayerViewOptions

    Returns Promise<LayerView>

  • Creates a default popup template for the layer, populated with all the fields of the layer.

    Read more...

    Parameters

    • Optional options: CreatePopupTemplateOptions

    Returns PopupTemplate

  • Destroys the layer and any associated resources (including its portalItem, if it is a property on the layer).

    Read more...

    Returns void

  • Emits an event on the instance.

    Read more...

    Parameters

    • type: string
    • Optional event: any

    Returns boolean

  • Fetches custom attribution data for the layer when it becomes available.

    Read more...

    Returns Promise<any>

  • Returns an image using the export REST operation that displays data from an ImageryLayer.

    Read more...

    Parameters

    • extent: EsriExtent
    • width: number
    • height: number
    • Optional options: ArcGISImageServiceFetchImageOptions

    Returns Promise<any>

  • Generates raster info for the specified rendering rule.

    Read more...

    Parameters

    • renderingRule: RasterFunction | RasterFunctionProperties
    • Optional options: ArcGISImageServiceGenerateRasterInfoOptions

    Returns Promise<RasterInfo>

  • Type Parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

  • Gets the image coordinate system information of a catalog item in an image service.

    Read more...

    Parameters

    • rasterId: number
    • Optional options: ArcGISImageServiceGetCatalogItemICSInfoOptions

    Returns Promise<any>

  • Get the raster info of a catalog item in an image service.

    Read more...

    Parameters

    • rasterId: number
    • Optional options: ArcGISImageServiceGetCatalogItemRasterInfoOptions

    Returns Promise<RasterInfo>

  • Returns sample point locations, pixel values and corresponding resolutions of the source data for a given geometry.

    Read more...

    Parameters

    • parameters: ImageSampleParameters | ImageSampleParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImageSampleResult>

  • Indicates whether there is an event listener on the instance that matches the provided event name.

    Read more...

    Parameters

    • type: string

    Returns boolean

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns boolean

  • Sends a request to the ArcGIS REST image service to identify content based on the specified ImageIdentifyParameters.

    Read more...

    Parameters

    • parameters: ImageIdentifyParameters | ImageIdentifyParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImageIdentifyResult>

  • isFulfilled() may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).

    Read more...

    Returns boolean

  • isRejected() may be used to verify if creating an instance of the class is rejected.

    Read more...

    Returns boolean

  • isResolved() may be used to verify if creating an instance of the class is resolved.

    Read more...

    Returns boolean

  • Loads the resources referenced by this class.

    Read more...

    Parameters

    • Optional signal: AbortSignal

    Returns Promise<any>

  • Calculates the area and perimeter of a given geometry on an image service.

    Read more...

    Parameters

    • parameters: ImageAreaParameters | ImageAreaParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImageAreaResult>

  • Calculates the distance and angle between two points on an image service.

    Read more...

    Parameters

    • parameters: ImageDistanceParameters | ImageDistanceParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImageDistanceResult>

  • Calculates the height of an object between two points on an image service if the sensor info is available.

    Read more...

    Parameters

    • parameters: ImageHeightParameters | ImageHeightParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImageHeightResult>

  • Returns the location for a given point or centroid of a given area on an image service.

    Read more...

    Parameters

    • parameters: ImagePointParameters | ImagePointParametersProperties
    • Optional requestOptions: any

    Returns Promise<ImagePointResult>

  • Parameters

    • propertyName: string

    Returns void

  • Parameters

    • name: "refresh"
    • eventHandler: ImageryLayerRefreshEventHandler

    Returns IHandle

  • Parameters

    • name: "layerview-create"
    • eventHandler: ImageryLayerLayerviewCreateEventHandler

    Returns IHandle

  • Parameters

    • name: "layerview-create-error"
    • eventHandler: ImageryLayerLayerviewCreateErrorEventHandler

    Returns IHandle

  • Parameters

    • name: "layerview-destroy"
    • eventHandler: ImageryLayerLayerviewDestroyEventHandler

    Returns IHandle

  • Deprecated

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

    Parameters

    • handles: IHandle | IHandle[]

    Returns void

  • Executes a Query against the image service and returns an array of Object IDs for the rasters.

    Read more...

    Parameters

    • Optional query: EsriQuery | QueryProperties
    • Optional requestOptions: any

    Returns Promise<number[]>

  • Executes a Query against the image service and returns the number of rasters that satisfy the query.

    Read more...

    Parameters

    • Optional query: EsriQuery | QueryProperties
    • Optional requestOptions: any

    Returns Promise<number>

  • Executes a Query against an image service and returns a FeatureSet, which can be accessed using the .then() method once the promise resolves.

    Read more...

    Parameters

    • query: EsriQuery | QueryProperties
    • Optional requestOptions: any

    Returns Promise<FeatureSet>

  • Executes the pixelFilter function and redraws the layer.

    Read more...

    Returns void

  • Fetches all the data for the layer.

    Read more...

    Returns void

  • Type Parameters

    • T

    Parameters

    • Optional groupKey: Exclude<T, IHandle>

    Returns void

  • Type Parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns EsriImageryLayer

  • Parameters

    • props: HashMap<any>

    Returns EsriImageryLayer

  • Parameters

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

    Returns WatchHandle

  • when() may be leveraged once an instance of the class is created.

    Read more...

    Parameters

    • Optional callback: Function
    • Optional errback: Function

    Returns Promise<any>

Generated using TypeDoc