@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
18 lines (17 loc) • 1.53 kB
TypeScript
import type GeoJSONLayer from "../../layers/GeoJSONLayer.js";
import type FeatureLikeLayerView from "./FeatureLikeLayerView.js";
/**
* Represents the [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) of a [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/)
* after it has been added to a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) in either a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/), [Map component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/),
* [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/) or [Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
*
* The GeoJSONLayerView is responsible for rendering a [GeoJSONLayer's](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/)
* features as [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/).
*
* @since 4.11
* @see [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/)
*/
export default abstract class GeoJSONLayerView extends FeatureLikeLayerView {
/** The layer being viewed. */
get layer(): GeoJSONLayer;
}