SymbolAvoidEdges

If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard

Construct the SymbolAvoidEdges with Boolean.

Link copied to clipboard
fun SymbolAvoidEdges(expression: Expression)

Construct the SymbolAvoidEdges with Mapbox Expression.

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard