# Mouse Location

The **RadMap** uses an UI control to display the current mouse location on the map. It displays the latitude and the longitude of the mouse position.

The UI control is represented by the **MapMouseLocationIndicator** control. You are able to use it outside the **RadMap** and place it somewhere around it. In this case you have to either hide the original one by using the **MouseLocationIndicatorVisibility** property of the **RadMap** or the **UseDefaultLayout** one.

> tip Setting the **UseDefaultLayout** property to **False** will hide all of the UI controls inside the **RadMap**. To learn more read [here](https://www.telerik.com/products/wpf/documentation/controls/radmap/features/default-layout).

In order to use the **MapMouseLocationIndicator** outside the **RadMap** you have to set its **MapControl** property to the respective **RadMap** instance. Additionally you can modify its appearance and the location formatting. Here is an example:

```XAML
<StackPanel>
    <telerik:MapMouseLocationIndicator MapControl="{Binding ElementName=radMap}"
	                                        LocationFormat="Number"
	                                        Margin="10"
	                                        HorizontalAlignment="Center"
	                                        Width="250"
	                                        IndicatorLabelBackground="White"
	                                        IndicatorLabelBorderBrush="Black"
	                                        Foreground="Black" />
    <telerik:RadMap x:Name="radMap"
	                    Width="600"
	                    Height="480"
	                    MouseLocationIndicatorVisibility="Collapsed" />
</StackPanel>
```

Here is a snapshot of the result:

![WPF RadMap Mouse Indicator Outside](https://www.telerik.com/products/wpf/documentation/assets/3fed0f5dad18e941ddd10c91da880c5e/radmap_features_mouselocation_01.png)

## See Also

* [Navigation](https://www.telerik.com/products/wpf/documentation/controls/radmap/features/navigation)
* [Click Modes](https://www.telerik.com/products/wpf/documentation/controls/radmap/features/click-modes)
* [Zoom Modes](https://www.telerik.com/products/wpf/documentation/controls/radmap/features/zoom-modes)
* [Distance and Scale](https://www.telerik.com/products/wpf/documentation/controls/radmap/features/dsitance-and-scale)
* [Default Layout](https://www.telerik.com/products/wpf/documentation/controls/radmap/features/default-layout)
