IconImage

data class IconImage(val value: Value, val styleImage: StyleImage? = null)

Name of image in sprite to use for drawing an image background.

Parameters

value

the property wrapped in Value to be used with native renderer.

styleImage

the optional style image that will be added to the style if available.

Constructors

Link copied to clipboard
fun IconImage(styleImage: StyleImage)

Construct the IconImage with StyleImage.

Link copied to clipboard
fun IconImage(value: String)

Construct the IconImage with String.

Link copied to clipboard
fun IconImage(expression: Expression)

Construct the IconImage with Mapbox Expression.

Link copied to clipboard
fun IconImage(value: Value, styleImage: StyleImage? = null)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard
val styleImage: StyleImage? = null
Link copied to clipboard