---
title: showsCompass
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/map/showscompass
---

# showsCompass

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

## Declaration

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

## Discussion

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

- [showsMapTypeControl](mapkitjs/map/showsmaptypecontrol.md)
- [showsScale](mapkitjs/map/showsscale.md)
- [showsUserLocationControl](mapkitjs/map/showsuserlocationcontrol.md)
- [showsZoomControl](mapkitjs/map/showszoomcontrol.md)
