▾
import LocalBasemapsSource from "@arcgis/core/basemapGallery/LocalBasemapsSource.js";const LocalBasemapsSource = await $arcgis.import("@arcgis/core/basemapGallery/LocalBasemapsSource.js");- Inheritance
- LocalBasemapsSource→
BasemapsSource→ Accessor
- Subclasses
- PortalBasemapsSource
- Since
- ArcGIS Maps SDK for JavaScript 5.2
A collection-driven source for Basemaps in a BasemapGalleryModel.
- 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 | |
Methods
refresh
Method
- Signature
-
refresh (): void
Refreshes the source basemaps.
Note: refresh will not affect LocalBasemapsSource.
Modify basemaps directly instead.
- Returns
- void