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

Provides information about the BuildingSceneLayer from which a graphic originates. The origin information may be available when a graphic is returned from methods such as hitTest().

See also

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
sublayer

BuildingComponentSublayer from which a graphic originates.

Properties

PropertyTypeClass
layer
readonly
sublayer
readonly
type
readonly
"building"

layer

readonly Property
Type
BuildingSceneLayer

A layer from which a graphic originates.

sublayer

readonly Property
Type
BuildingComponentSublayer

A building component sublayer from which the graphic originates.

type

readonly Property
Type
"building"

Indicates the type of layer the graphic originated from.