Skip to content
import MapNotesGraphicOrigin from "@arcgis/core/graphic/MapNotesGraphicOrigin.js";
Inheritance:
MapNotesGraphicOriginGraphicOrigin
Since
ArcGIS Maps SDK for JavaScript 5.0

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

See also

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
layer

The MapNotesLayer from which a graphic originates.

sublayer

The GraphicsLayer from which a graphic originates.

Properties

PropertyTypeClass
layer
readonly
sublayer
readonly
type
readonly
MapNotesLayer["type"]

layer

readonly Property
Type
MapNotesLayer

A layer from which a graphic originates.

sublayer

readonly Property
Type
GraphicsLayer

The GraphicsLayer from which a graphic originates.

type

readonly Property
Type
MapNotesLayer["type"]

Indicates the type of layer the graphic originated from.

Default value
"map-notes"