Contents

showsCompass

A feature visibility setting that determines when the compass is visible.

Declaration

get showsCompass(): FeatureVisibility;
set showsCompass(value: FeatureVisibility);

Discussion

By default, the compass is adaptive (Adaptive), meaning that it isn’t visible when rotation is 0 on touch devices. Otherwise, the compass is visible.

See Also

Showing the map’s controls