UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

20 lines (19 loc) 758 B
import type GraphicOrigin from "./GraphicOrigin.js"; import type WCSLayer from "../layers/WCSLayer.js"; /** * Provides information about the [WCSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WCSLayer/) from which a graphic originates. * You can access the graphic's origin through the graphic's [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin) property. * * @since 5.0 */ export default class WCSGraphicOrigin extends GraphicOrigin { constructor(layer: WCSLayer); /** A layer from which a graphic originates. */ readonly layer: WCSLayer; /** * Indicates the type of layer the graphic originated from. * * @default "wcs" */ readonly type: WCSLayer["type"]; }