<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/FeatureVisibility/Visible",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration Case",
  "symbol" : {
    "kind" : "Enumeration Case",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "enumelt/mapkit.FeatureVisibility/Visible"
  },
  "title" : "Visible"
}
-->

# Visible

A constant indicating that the feature is always visible.

```
readonly Visible: "visible";
```

## Discussion

Use `mapkit.FeatureVisibility.Visible` to always show adaptive map controls, such as the compass and scale, regardless of the map’s current state. 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 show the compass and the user location control:

```javascript
// Create a map.
const map = new mapkit.Map("my-map-element-id");

// Always show the compass, regardless of the map state.
map.showsCompass = mapkit.FeatureVisibility.Visible;

// Show the user location control.
map.showsUserLocationControl = true;
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)