Builder

class Builder

Constructors

Link copied to clipboard
open fun Builder()

Functions

Link copied to clipboard
If true, the annotation will be visible even if it collides with other previously drawn annotations.
Link copied to clipboard
If true, the annotation will be visible even if it collides with the puck.
Link copied to clipboard
If true, position annotation on buildings' (both fill extrusions and models) rooftops.
Link copied to clipboard
Associates a view annotation with the geometry provided by the `AnnotatedFeature`.
Link copied to clipboard
Link copied to clipboard
View annotation height in `platform pixels`.
Link copied to clipboard
If true, the annotation will be visible even if it is outside the bound that defined by the camera padding.
Link copied to clipboard
Specifies if this view annotation is selected meaning it should be placed on top of others.
Link copied to clipboard
Provide anchor choices for annotation placement.
Link copied to clipboard
Specifies if this view annotation is visible or not.
Link copied to clipboard
View annotation width in `platform pixels`.

Extensions

Link copied to clipboard

DSL function to set AnnotatedLayerFeature to ViewAnnotationOptions.Builder.annotatedFeature.

Link copied to clipboard

DSL function to set single ViewAnnotationAnchorConfig to ViewAnnotationOptions.Builder.variableAnchors.

Link copied to clipboard

DSL function to set multiple ViewAnnotationAnchorConfig's to ViewAnnotationOptions.Builder.variableAnchors. Anchors will be applied in the order they are specified.

Link copied to clipboard

DSL function to set Geometry to ViewAnnotationOptions.Builder.annotatedFeature.