---
title: isRotationEnabled
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/map/isrotationenabled
---

# isRotationEnabled

A Boolean value that determines whether the user may rotate the map using the compass control or a rotate gesture.

## Declaration

```data
get isRotationEnabled(): boolean;
set isRotationEnabled(value: boolean);
```

## Discussion

Discussion When isRotationEnabled is false, you can still rotate the map programmatically by using rotation or setRotationAnimated(degrees, animated).

## See Also

### Accessing interaction properties

- [isRotationAvailable](mapkitjs/map/isrotationavailable.md)
- [isScrollEnabled](mapkitjs/map/isscrollenabled.md)
- [isZoomEnabled](mapkitjs/map/iszoomenabled.md)
