---
title: "NavigationControlOptions | 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 NavigationControlOptions

The [NavigationControl](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.NavigationControl/) options object

type NavigationControlOptions \= {  
    [showCompass](#showcompass)?: boolean;  
    [showZoom](#showzoom)?: boolean;  
    [visualizePitch](#visualizepitch)?: boolean;  
    [visualizeRoll](#visualizeroll)?: boolean;  
}

##### Index

### Properties[](#properties)

[showCompass?](#showcompass) [showZoom?](#showzoom) [visualizePitch?](#visualizepitch) [visualizeRoll?](#visualizeroll)

## Properties[](#properties-1)

### `Optional`showCompass[](#showcompass)

showCompass?: boolean

If `true` the compass button is included.

### `Optional`showZoom[](#showzoom)

showZoom?: boolean

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

### `Optional`visualizePitch[](#visualizepitch)

visualizePitch?: boolean

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

### `Optional`visualizeRoll[](#visualizeroll)

visualizeRoll?: boolean

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