Properties that can be specified for the mapping/BasemapExtension!BasemapExtensionProperties.basemap property.

interface BasemapProperties {
    baseMapLayers?: BasemapLayerJson[];
    elevationLayers?: ElevationLayerJson[];
    id?: string;
    title?: string;
}

Hierarchy (view full)

Properties

baseMapLayers?: BasemapLayerJson[]

An array of BasemapLayer objects defining the basemaps used in the web map/web scene.

elevationLayers?: ElevationLayerJson[]

Deprecated, use ground.layers instead. An array of elevationLayer objects defining the basemaps used in the web scene.

id?: string

An identifier used to refer to the basemap when referencing it elsewhere.

NOTE: Only available in web scenes!

title?: string

String title for the basemap that can be used in a table of contents. If not defined, then it takes the title of the first baseMapLayer in the array.