---
title: Hidden
framework: mapkitjs
role: symbol
role_heading: Enumeration Case
path: mapkitjs/featurevisibility/hidden
---

# Hidden

A constant indicating that the feature is always hidden.

## Declaration

```data
readonly Hidden: "hidden";
```

## Discussion

Discussion Use mapkit.FeatureVisibility.Hidden to hide adaptive map controls, such as the compass and scale. You can show or hide controls that aren’t adaptive by setting map properties to true or false, respectively. The following example shows how to always hide the compass, the map type, and the zoom controls: // Create a map. const map = new mapkit.Map("my-map-element-id");

// Always hide the compass. map.showsCompass = mapkit.FeatureVisibility.Hidden;

// Hide the map type and the zoom controls. map.showsMapTypeControl = false; map.showsZoomControl = false;

## See Also

### Feature visibility values

- [Adaptive](mapkitjs/featurevisibility/adaptive.md)
- [Visible](mapkitjs/featurevisibility/visible.md)
