BasemapGalleryItem

constructor(basemapStyleInfo: BasemapStyleInfo)

Construct a BasemapGalleryItem with a BasemapStyleInfo.

If the BasemapStyleInfo has a thumbnail, this is used for the thumbnail otherwise a default thumbnail is used.

Since

200.7.0

Parameters

basemapStyleInfo

the BasemapStyleInfo


constructor(item: Item, is3D: Boolean = false)

Construct a BasemapGalleryItem with an Item.

If the Item has a thumbnail, this is used for the thumbnail otherwise a default thumbnail is used.

Since

200.8.0

Parameters

item

the Item

is3D

indicates if this item is a 3D basemap


constructor(title: String, tag: Any? = null, is3D: Boolean = false, thumbnailProvider: suspend () -> Bitmap? = { null })

creates a gallery item

Parameters

thumbnailProvider

a lambda that returns a bitmap to use for the thumbnail image. If the lambda returns null a default thumbnail is used.