Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.35 KB

bring-a-location-into-view.md

File metadata and controls

40 lines (34 loc) · 1.35 KB
title page_title description slug tags published position
Bring a Location into View
Bring a Location into View
Check our "Bring a Location into View" documentation article for the RadMap {{ site.framework_name }} control.
radmap-how-to-bring-a-location-into-view
bring,a,location,into,view
true
5

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:

XAML

{{region radmap-how-to-bring-a-location-into-view_0}} <telerik:RadMap x:Name="radMap" Width="600" Height="480" /> {{endregion}}

C#

{{region radmap-how-to-bring-a-location-into-view_1}} private void BringLocationIntoView( Location desiredLocation ) { this.radMap.Center = desiredLocation; } {{endregion}}

VB.NET

{{region radmap-how-to-bring-a-location-into-view_2}} Private Sub BringLocationIntoView(ByVal desiredLocation As Location) Me.radMap.Center = desiredLocation End Sub {{endregion}}

See Also

  • [Navigation]({%slug radmap-features-navigation%})
  • [Set the Best View for the InformationLayer]({%slug radmap-how-to-set-the-best-view-for-the-informationlayer%})
  • [Put a Mark on the clicked Location]({%slug radmap-how-to-put-a-mark-on-the-clicked-location%})