LocalBasemapsSource

require(["esri/widgets/BasemapGallery/support/LocalBasemapsSource"], function(LocalBasemapsSource) { /* code goes here */ });
Class: esri/widgets/BasemapGallery/support/LocalBasemapsSource
Inheritance: LocalBasemapsSource Accessor
Since: ArcGIS API for JavaScript 4.3

The LocalBasemapsSource class is a Collection-driven basemap source in the BasemapGalleryViewModel.

See also:

Constructors

new LocalBasemapsSource(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummaryClass
Collection<Basemap>

A collection of Basemaps.

more details
more detailsLocalBasemapsSource
String

The name of the class.

more details
more detailsAccessor
String

The source's state.

more details
more detailsLocalBasemapsSource

Property Details

A collection of Basemaps.

declaredClassStringreadonly inherited

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

stateStringreadonly

The source's state. The state is always ready.

Method Overview

NameReturn TypeSummaryClass

Refreshes the source basemaps.

more details
more detailsLocalBasemapsSource

Method Details

refresh()

Refreshes the source basemaps. Note: refresh will not affect LocalBasemapsSource. Modify basemaps directly instead.

API Reference search results

NameTypeModule

There were no match results from your search criteria.