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 |
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:
{{region radmap-how-to-bring-a-location-into-view_0}} <telerik:RadMap x:Name="radMap" Width="600" Height="480" /> {{endregion}}
{{region radmap-how-to-bring-a-location-into-view_1}} private void BringLocationIntoView( Location desiredLocation ) { this.radMap.Center = desiredLocation; } {{endregion}}
{{region radmap-how-to-bring-a-location-into-view_2}} Private Sub BringLocationIntoView(ByVal desiredLocation As Location) Me.radMap.Center = desiredLocation End Sub {{endregion}}
- [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%})