<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Map/isRotationAvailable",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instp/mapkit.Map/isRotationAvailable"
  },
  "title" : "isRotationAvailable"
}
-->

# isRotationAvailable

A Boolean value that indicates whether map rotation is available.

```
get isRotationAvailable(): boolean;
set isRotationAvailable(_: boolean);
```

## Discussion

MapKit JS determines whether it’s possible to rotate the map, and sets [`isRotationAvailable`](/documentation/MapKitJS/Map/isRotationAvailable) to `true` or `false`. When the value is `true`, users can rotate the map, and any labels on the map remain horizontal.

The value for [`isRotationAvailable`](/documentation/MapKitJS/Map/isRotationAvailable) is:

- `true`: When the client renders the map, such as by browsers that support WebGL.
- `false`: When the Apple Maps server renders the map with a grid of image tiles, or when you implement your own tile overlays ([`addTileOverlay()`](/documentation/MapKitJS/Map/addTileOverlay)).

When `isRotationAvailable` is `false`, [`isRotationEnabled`](/documentation/MapKitJS/Map/isRotationEnabled) is always `false` and [`rotation`](/documentation/MapKitJS/Map/rotation) is always `0`.

---

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)