AnnotationConfig

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

Config class for annotation plugin to get the annotation manager

Constructors

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

Properties

Link copied to clipboard

The configure for GeoJsonSource inside of AnnotationManager

Link copied to clipboard
val belowLayerId: String? = null

The id of the layer above the annotation layer

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.

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.