DashMapLayerScope

abstract class DashMapLayerScope

Scope for defining custom map layers.

See also

In case of using authorization headers, you can add them using addAuthRule method.

Functions

Link copied to clipboard

Adds authorization rule for the given rule.

Link copied to clipboard
fun bottomSlot(content: @Composable () -> Unit)

The content to be set to the bottom slot of the Mapbox Standard style.

Link copied to clipboard
abstract fun clear()

Clears all authorization rules. Invoked when the composer is disposed.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun middleSlot(content: @Composable () -> Unit)

The content to be set to the middle slot of the Mapbox Standard style.

Link copied to clipboard
fun topSlot(content: @Composable () -> Unit)

The content to be set to the top slot of the Mapbox Standard style.