New to Telerik UI for WPF? Download free 30-day trial

Bring a Location into View

In order to bring a location point into view, you simply have to set the Center property of the RadMap property. Here is an example:

<telerik:RadMap x:Name="radMap" 
                Width="600" 
                Height="480" /> 

private void BringLocationIntoView( Location desiredLocation ) 
{ 
    this.radMap.Center = desiredLocation; 
} 
Private Sub BringLocationIntoView(ByVal desiredLocation As Location) 
    Me.radMap.Center = desiredLocation 
End Sub 

See Also

In this article