AnnotationSourceOptions

data class AnnotationSourceOptions @JvmOverloads() constructor(maxZoom: Long?, buffer: Long?, lineMetrics: Boolean?, tolerance: Double?, clusterOptions: ClusterOptions?)

Configure class for composing GeoJsonSource objects that included in Annotation

See also

Constructors

AnnotationSourceOptions
Link copied to clipboard
fun AnnotationSourceOptions(maxZoom: Long? = null, buffer: Long? = null, lineMetrics: Boolean? = null, tolerance: Double? = null, clusterOptions: ClusterOptions? = null)

Properties

buffer
Link copied to clipboard
val buffer: Long? = null
Size of the tile buffer on each side.
clusterOptions
Link copied to clipboard
val clusterOptions: ClusterOptions? = null
Options to show and configure symbol clustering with using SymbolManager.
lineMetrics
Link copied to clipboard
val lineMetrics: Boolean? = null
Whether to calculate line distance metrics.
maxZoom
Link copied to clipboard
val maxZoom: Long? = null
Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels).
tolerance
Link copied to clipboard
val tolerance: Double? = null
Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance).