Skip to content
import { isImageryTileGraphicOrigin } from "@arcgis/core/graphic/isImageryTileGraphicOrigin.js";
Since
ArcGIS Maps SDK for JavaScript 5.0

Provides a utility function to determine whether a graphic's origin is a ImageryTileGraphicOrigin.

Functions

NameReturn TypeObject

isImageryTileGraphicOrigin

Function

Utility function that determines whether a graphic’s origin is a ImageryTileGraphicOrigin.

Signature
isImageryTileGraphicOrigin (origin: GraphicOrigin | null | undefined): origin is ImageryTileGraphicOrigin
Parameters
ParameterTypeDescriptionRequired
origin

The graphic origin to check.

Returns
origin is ImageryTileGraphicOrigin

Returns true if the graphic origin is of type ImageryTileGraphicOrigin, false otherwise.