interface Layer : JniNativeHandleOwner
An interface that represents the style layer.
abstract fun getId(): String
Returns the ID (a human-readable name) of the layer. |
|
abstract fun getMaxZoom(): Float
Returns the largest zoom value that the layer is visible at. |
|
abstract fun getMinZoom(): Float
Returns the smallest zoom value that the layer is visible at. |
|
abstract fun getSourceId(): String
Returns the ID (a human-readable name) of the source of data for this layer. |
|
abstract fun getSourceLayer(): String
Returns the ID of the source layer of this layer. |
|
abstract fun getVisibility(): Visibility
Returns the visibility of this layer. |
|
abstract fun resetFilter(): Unit
Reset expression used for properties filtering. |
|
abstract fun setFilter(expression: Expression): Unit
Sets expression used for properties filtering. |
|
abstract fun setMaxZoom(maxZoom: Float): Unit
Sets the largest zoom value that the layer is visible at. |
|
abstract fun setMinZoom(minZoom: Float): Unit
Sets the smallest zoom value that the layer is visible at. |
|
abstract fun setSourceLayer(sourceLayer: String): Unit
Sets the source layer for this layer. |
|
abstract fun setVisibility(visibility: Visibility): Unit
Sets the visibility of this layer. |