▾
import BasemapItem from "@arcgis/core/basemapGallery/support/BasemapItem.js";const BasemapItem = await $arcgis.import("@arcgis/core/basemapGallery/support/BasemapItem.js");- Inheritance
- BasemapItem→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.2
Represents one of the basemaps in BasemapGalleryModel.items.
- See also
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 |
|---|---|---|
| | ||
| | ||
| readonly inherited | ||
| readonly | | |
| readonly | | |
| readonly | | |
| readonly inherited | ||
| |
compatibilityFunction
Property
- Type
- BasemapCompatibilityFunction | null
Function used to determine whether a basemap is compatible with the current view. This is mostly needed for SceneView.
spatialReference
readonly Property
- Type
- SpatialReference | null | undefined
The spatial reference of the item's basemap.
uid
readonlyinherited Property
- Type
- string
Inherited from: IdentifiableMixin
- Since
- ArcGIS Maps SDK for JavaScript 4.33
An automatically generated unique identifier assigned to the instance. The unique id is generated each time the application is loaded.