DashMapStyleLayer

constructor(id: String, visible: Boolean = true, clickableAtZoom: IntRange = 0..Int.MAX_VALUE)

Parameters

id

Unique identifier for the layer.

visible

Indicates if the layer is visible. Default is true.

clickableAtZoom

Zoom range at which the layer is clickable. Default is 0..Int.MAX_VALUE (always clickable). Use IntRange.EMPTY to make the layer never clickable.