Skip to content
import BasemapView from "@arcgis/core/views/BasemapView.js";
Inheritance:
BasemapViewAccessor
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.

See also

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
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.
PropertyTypeClass
baseLayerViews
readonly
declaredClass
readonly inherited
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.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

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

References the MapView or SceneView.