# NavigationControlOptions

> **NavigationControlOptions** = `object`

Defined in: [ui/control/navigation\_control.ts:13](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/control/navigation_control.ts#L13>)

The [NavigationControl](<https://maplibre.org/maplibre-gl-js/docs/API/classes/NavigationControl/index.md>) options object

## Properties

### showCompass?

> `optional` **showCompass?**: `boolean`

Defined in: [ui/control/navigation\_control.ts:17](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/control/navigation_control.ts#L17>)

If `true` the compass button is included.

---

### showZoom?

> `optional` **showZoom?**: `boolean`

Defined in: [ui/control/navigation\_control.ts:21](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/control/navigation_control.ts#L21>)

If `true` the zoom-in and zoom-out buttons are included.

---

### visualizePitch?

> `optional` **visualizePitch?**: `boolean`

Defined in: [ui/control/navigation\_control.ts:25](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/control/navigation_control.ts#L25>)

If `true` the pitch is visualized by rotating X-axis of compass.

---

### visualizeRoll?

> `optional` **visualizeRoll?**: `boolean`

Defined in: [ui/control/navigation\_control.ts:29](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/control/navigation_control.ts#L29>)

If `true` the roll is visualized by rotating the compass.
