# Navigation Controls

**RadMap** incorporates a navigation tool allowing the end to user to easily zoom, pan and change the current view.

> caption Figure 1: Navigation Bar

![WinForms RadMap Navigation Bar](https://www.telerik.com/products/winforms/documentation/assets/6ed2fe1ccef84363477e97fe9a1da1b9/map-features-navigation-controls001.png)

The **RadMap.ShowNavigationBar** property is responsible for showing or hiding the navigation bar. By default this property is set to *true* and the location of the navigation bar is set to *BottomRight*.

#### Hide Navigation Bar

```C#
this.radMap1.ShowNavigationBar = false;
```

```VB.NET
Me.RadMap1.ShowNavigationBar = False
```

# Navigation Bar Location

The location of the **MapNavigationBarElement** is controlled by the RadMap.MapElement.**NavigationBarLocation** property.

* **MapNavigationBarLocation**.*TopRight*: The location is set to the top right part of the view port.

> caption Figure 2: TopRight

![WinForms RadMap TopRight](https://www.telerik.com/products/winforms/documentation/assets/297c32246ba837fa4b7a9391f449c6cf/map-features-navigation-controls002.png)

* **MapNavigationBarLocation**.*TopLeft*: The location is set to the top left part of the view port.

> caption Figure 3: TopLeft

![WinForms RadMap TopLeft](https://www.telerik.com/products/winforms/documentation/assets/0fbd0de3f39f6125980886100a3ff1a1/map-features-navigation-controls003.png)

* **MapNavigationBarLocation**.*BottomLeft*: The location is set to the bottom left part of the view port.

> caption Figure 4: BottomLeft

![WinForms RadMap BottomLeft](https://www.telerik.com/products/winforms/documentation/assets/4ebf887af5e61833d0d367e392fb8481/map-features-navigation-controls004.png)

* **MapNavigationBarLocation**.*BottomCenter*: The location is set to the bottom center part of the view port.

> caption Figure 5: BottomCenter

![WinForms RadMap BottomCenter](https://www.telerik.com/products/winforms/documentation/assets/7f39fb6e207ecebf07c3120ef29c74ca/map-features-navigation-controls005.png)

* **MapNavigationBarLocation**.*BottomRight*: The location is set to the bottom right part of the view port.

> caption Figure 6: BottomRight

![WinForms RadMap BottomRight](https://www.telerik.com/products/winforms/documentation/assets/1e91aeeb35a85f78d7d2d4dab226a94b/map-features-navigation-controls006.png)

# View Modes

The navigation control allows an easy selection of the currently displayed view.

> note The views which will be displayed in the drop-down will vary depending on the chosen map provider: [Providers Overview](https://www.telerik.com/products/winforms/documentation/controls/map/providers/overview).

> caption Figure 7: BingRestMapProvider Views

![WinForms RadMap BingRestMapProvider Views](https://www.telerik.com/products/winforms/documentation/assets/e3b0f9b02719fdfe600eddf6c5a75fa9/map-features-navigation-controls007.gif)

# Zoom and Pan

The navigation control allows the end user to easily zoom and pan to a particular location on the map.

> caption Figure 8: Zoom and Pan

![WinForms RadMap Zoom and Pan](https://www.telerik.com/products/winforms/documentation/assets/017d5e64cd1e35a05f27af893b767eb1/map-features-navigation-controls008.gif)

The **MapNavigationBarElement** can be accessed through the **RadMap.MapElement.NavigationBarElement**. The table below lists the exposed properties.

## Properties

| Property                 | Description                      |
| ------------------------ | -------------------------------- |
| **MapElement**           | Gets the map element.            |
| **ZoomInButton**         | Gets the zoom in button.         |
| **ZoomOutButton**        | Gets the zoom out button.        |
| **ViewButton**           | Gets the view button.            |
| **MapNavigationElement** | Gets the map navigation element. |

## See Also

* [Layers Overview](https://www.telerik.com/products/winforms/documentation/controls/map/features/layers/overview)
* [Mini Map](https://www.telerik.com/products/winforms/documentation/controls/map/features/minimap)
* [Scale Indicators](https://www.telerik.com/products/winforms/documentation/controls/map/features/scale-indicators)
* [Legend](https://www.telerik.com/products/winforms/documentation/controls/map/features/legend)
* [Pan and Zoom](https://www.telerik.com/products/winforms/documentation/controls/map/features/pan-and-zoom)
