BasemapGalleryItem

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

The BasemapGalleryItem encompasses an element in a BasemapGallery.

Since

200.7.0

Parameters

thumbnailProvider

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

Constructors

Link copied to clipboard
constructor(basemapStyleInfo: BasemapStyleInfo)

Construct a BasemapGalleryItem with a BasemapStyleInfo.

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

Construct a BasemapGalleryItem with an Item.

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

creates a gallery item

Properties

Link copied to clipboard
val is3D: Boolean = false

indicates if this item is a 3D basemap

Link copied to clipboard
val tag: Any? = null

the object that this gallery item can return when clicked

Link copied to clipboard

the gallery item title