AnnotationConfig

data class AnnotationConfig @JvmOverloads() constructor(belowLayerId: String?, layerId: String?, sourceId: String?, annotationSourceOptions: AnnotationSourceOptions?)

Config class for annotation plugin to get the annotation manager

Constructors

AnnotationConfig
Link copied to clipboard
fun AnnotationConfig(belowLayerId: String? = null, layerId: String? = null, sourceId: String? = null, annotationSourceOptions: AnnotationSourceOptions? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): AnnotationSourceOptions?
copy
Link copied to clipboard
fun copy(belowLayerId: String? = null, layerId: String? = null, sourceId: String? = null, annotationSourceOptions: AnnotationSourceOptions? = null): AnnotationConfig
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

annotationSourceOptions
Link copied to clipboard
val annotationSourceOptions: AnnotationSourceOptions? = null
The configure for GeoJsonSource inside of AnnotationManager
belowLayerId
Link copied to clipboard
val belowLayerId: String? = null
The id of the layer above the annotation layer
layerId
Link copied to clipboard
val layerId: String? = null
The layer id for layer inside of annotation manager, if not set will use the default id managed by annotation manager.
sourceId
Link copied to clipboard
val sourceId: String? = null
The source id for layer inside of annotation manager, if not set will use the default id managed by annotation manager.