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)

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.