AnnotationConfig

Config class for annotation plugin to get the annotation manager

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

Constructors

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

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?, layerId: String?, sourceId: String?, annotationSourceOptions: AnnotationSourceOptions?): 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

The configure for GeoJsonSource inside of AnnotationManager

val annotationSourceOptions: AnnotationSourceOptions?
belowLayerId
Link copied to clipboard

The id of the layer above the annotation layer

val belowLayerId: String?
layerId
Link copied to clipboard

The layer id for layer inside of annotation manager, if not set will use the default id managed by annotation manager.

val layerId: String?
sourceId
Link copied to clipboard

The source id for layer inside of annotation manager, if not set will use the default id managed by annotation manager.

val sourceId: String?