import TileGraphicOrigin from "@arcgis/core/graphic/TileGraphicOrigin.js";
Inheritance
TileGraphicOriginGraphicOrigin
Since
ArcGIS Maps SDK for JavaScript 5.0

Provides information about the TileLayer from which a graphic originates. Also provides access to the Sublayer that contains the graphic. You can access the graphic's origin through the graphic's origin property.

Constructors

Constructor

Constructor

Parameters

ParameterTypeDescriptionRequired
layer

The TileLayer of the origin.

sublayer

The Sublayer of the origin.

Properties

PropertyTypeClass
readonly
readonly
readonly
TileLayer["type"]

layer

readonly Property
Type
TileLayer

A layer from which a graphic originates.

sublayer

readonly Property
Type
Sublayer

The Sublayer from which a graphic originates.

type

readonly Property
Type
TileLayer["type"]

Indicates the type of layer the graphic originated from.

Default value
"tile"