Companion

object Companion

Properties

Link copied to clipboard
var _masks: <Error class: unknown class>

Helper to get the 'background-color' from a BackgroundLayer or 'fill-color' from a FillLayer.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun changeFillLayerColor(mapboxMap: MapboxMap, layerId: String, newColorString: String)
Link copied to clipboard
fun getBackgroundColorFromLayer(style: Style, layerId: String): StyleValue<Color>?
Link copied to clipboard
fun getBackgroundColorRBGStringFromLayer(style: Style, layerId: String): String?
Link copied to clipboard
fun printAllMapboxLayers(mapboxMap: MapboxMap, message: String = "")
Link copied to clipboard

Decrements the reference count for a mask layer, removing it from the map if the count reaches zero. This function should be called from the main thread if it involves UI/map updates.