This is a migrated thread and some comments may be shown as answers.

radmap's GeoBoundsSE doesn't work properly

1 Answer 106 Views
Map
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Top achievements
Rank 1
asked on 07 Dec 2012, 02:51 AM
<telerik:RadMap Loaded="radMap_Loaded" MapMouseClick="radMap_MapMouseClick" ZoomChanged="radMap_ZoomChanged" MouseClickMode="None" Grid.Column="2" Grid.Row="0" ZoomBarPresetsVisibility="Collapsed"  CommandBarVisibility="Collapsed" ZoomBarVisibility="Collapsed" NavigationVisibility="Collapsed" x:Name="radMap" >
            <telerik:RadMap.Providers>
                <telerik:OpenStreetMapProvider/>
                <telerik:BingMapTrafficProvider/>
            </telerik:RadMap.Providers>
</telerik:RadMap>
.cs:

var BoundsNW = this.radMap.GeoBoundsNW;//Negative infinity

var BoundsSE = this.radMap.GeoBoundsSE;//Negative infinity

How to get telerik:RadMap Present location GeoBoundsSE and GeoBoundsNW ?
Thank you.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 12 Dec 2012, 08:14 AM
Hello,

The GeoBounds, GeoBoundsNE and GeoBoundsSW are used to limit map panning with specified region. To get geographical region which is visible inside viewport of the map control you should use the RadMap.LocationRect property.

Greetings,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Map
Asked by
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or