import BasemapView from "@arcgis/core/views/BasemapView.js";const BasemapView = await $arcgis.import("@arcgis/core/views/BasemapView.js");- Inheritance:
- BasemapView→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.13
Represents the view for a single basemap after it has been added to either a MapView or a SceneView.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.
| Property | Type | Class |
|---|---|---|
baseLayerViews readonly | | |
declaredClass readonly inherited | ||
referenceLayerViews readonly | | |
updating readonly | | |
view readonly | |
baseLayerViews
readonly Property
- Type
- Collection
A collection containing a hierarchical list of all the created LayerViews of the base layers in the map.
referenceLayerViews
readonly Property
- Type
- Collection
A collection containing a hierarchical list of all the created LayerViews of the reference layers in the map. The reference layers will be displayed on top of all layers in the map.
updating
readonly Property
- Type
- boolean
Value is true when the basemap is updating; for example, if
it is in the process of fetching data.
- Default value
- false
view
readonly Property
- Type
- MapViewOrSceneView | null | undefined