Basemap

fun Basemap(basemapStyle: BasemapStyle)

Creates a basemap with a BasemapStyle. These basemaps are secured and access requires either an API key or a named user.

Since

200.1.0

See also


fun Basemap(item: Item)

Creates a basemap with a portal item of type PortalItemType.WebMap. The PortalItem automatically loads when the Basemap loads. If the loaded Item is not a portal item of type PortalItemType.WebMap, the basemap fails to load.

Since

200.1.0


fun Basemap(baseLayer: Layer)

Creates a basemap with a single base layer.

Since

200.1.0


fun Basemap(baseLayers: Iterable<Layer> = listOf(), referenceLayers: Iterable<Layer> = listOf())

Creates a basemap with collections of base and reference layers.

Since

200.1.0


fun Basemap(uri: String)

Creates a basemap with the URI. If the specified URI is a portal item URL (see PortalItem.PortalItem(String) for the supported URL formats), the underlying PortalItem will be created and accessible through Basemap.item.

Since

200.1.0

See also

PortalItem.PortalItem

(String)