icon

fun icon(image: String, block: MvtIconBuilder.() -> Unit = {})

Declare a sprite-atlas icon for matching POINT features. image is the atlas entry name (Mapbox-style {property} placeholders are expanded against the feature's properties at resolve time).

paint {
icon("mountain-peak") { size = 1.2f }
// or with a per-feature template:
icon("poi-{kind}")
}