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

Provides information about the StreamLayer from which a graphic originates. 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
layer

The StreamLayer from which a graphic originates.

Properties

PropertyTypeClass
layer
readonly
type
readonly
StreamLayer["type"]

layer

readonly Property
Type
StreamLayer

A layer from which a graphic originates.

type

readonly Property
Type
StreamLayer["type"]

Indicates the type of layer the graphic originated from.

Default value
"stream"