import StreamGraphicOrigin from "@arcgis/core/graphic/StreamGraphicOrigin.js";const StreamGraphicOrigin = await $arcgis.import("@arcgis/core/graphic/StreamGraphicOrigin.js");- Inheritance:
- StreamGraphicOrigin→
GraphicOrigin
- 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().
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| layer | The StreamLayer from which a graphic originates. | |
Properties
| Property | Type | Class |
|---|---|---|
layer readonly | | |
type readonly | StreamLayer["type"] | |
type
readonly Property
- Type
- StreamLayer["type"]
Indicates the type of layer the graphic originated from.
- Default value
- "stream"