---
title: "DragRotateHandlerOptions | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias DragRotateHandlerOptions

type DragRotateHandlerOptions \= {  
    [pitchWithRotate](#pitchwithrotate): boolean;  
    [rollEnabled](#rollenabled): boolean;  
}

##### Index

### Properties[](#properties)

[pitchWithRotate](#pitchwithrotate) [rollEnabled](#rollenabled)

## Properties[](#properties-1)

### pitchWithRotate[](#pitchwithrotate)

pitchWithRotate: boolean

Control the map pitch in addition to the bearing

#### Default Value[](#default-value)

```typescript
true
```

### rollEnabled[](#rollenabled)

rollEnabled: boolean

Control the map roll in addition to the bearing

#### Default Value[](#default-value-1)

```typescript
false
```
