Contents

visible

A Boolean value that determines whether the annotation is visible or hidden.

Declaration

get visible(): boolean;
set visible(value: boolean);

Discussion

Set this property to false to temporarily hide an annotation.

If there’s a dense cluster of annotations at low zoom levels, it’s good practice to hide some annotations.

See Also

Getting and setting annotation appearance