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

Provides information about the SubtypeGroupLayer from which a graphic originates. Also provides access to the SubtypeSublayer that contains the graphic. The origin information may be available when a graphic is returned from methods such as hitTest() or queryFeatures().

See also

Constructors

Constructor

Constructor

Parameters

ParameterTypeDescriptionRequired
sublayer

The SubtypeSublayer from which a graphic originates.

Properties

PropertyTypeClass
readonly
readonly

layer

readonly Property
Type
SubtypeGroupLayer

A layer from which a graphic originates.

type

readonly Property
Type
SubtypeGroupLayer["type"]

Indicates the type of layer the graphic originated from.

Default value
"subtype-group"