DistanceSymbolRange

constructor()

Create a distance symbol range object. Creates a Distance symbol range with just no symbol or no range properties.

Since

200.1.0


constructor(symbol: Symbol, minDistance: Double? = null, maxDistance: Double? = null)

Create a distance symbol range object. Creates a Distance Range with a symbol and range properties. As a result the symbol will only be visible when the camera is within the specified distance range. Note that setting the maximum range to null indicates that there isn't a maximum range limit and the symbol will always be visible beyond its minimum range.

Since

200.1.0

Parameters

symbol

The symbol to use with the given distance range

minDistance

The minimum distance to set in the distance symbol range. The value should be greater than or equal to zero. If null, there is no minimum.

maxDistance

The maximum distance to set in the distance symbol range. The value should be greater than or equal to zero. If null, there is no maximum.