DistanceCompositeSceneSymbol

Defines a set of symbols and their visible distance range. Distance composite scene symbol contain symbols with distance ranges. Based on distance from the camera the symbols are rendered or not. Note that the ranges for each symbol are independent and may overlap.

Since

200.1.0

Constructors

Link copied to clipboard
constructor()

Create a distance composite scene symbol object. Use this method to create a distance composite scene symbol which is a container of symbols with distance display ranges. Each symbol added to the contained range collection can specify a minimum and maximum display distance. When a feature is rendered, the distance from the camera will be checked against the specified minimum and maximum range to determine the symbols visibility. Note that symbol ranges for the contained symbols are not exclusive and may overlap.

Properties

Link copied to clipboard

The symbols distance ranges.

Functions

Link copied to clipboard

Inherited functions

Link copied to clipboard
suspend fun createSwatch(screenScale: Float, width: Float? = null, height: Float? = null, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol. This method will scale the symbol up or down in order to fit it in to the desired width and height of the swatch.

suspend fun createSwatch(screenScale: Float, width: Float, height: Float, geometry: Geometry, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol.

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
open override fun toJson(): String

Convert an object to JSON string.