mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Added MapBase.MapBounds and MapBase.GeoBounds
This commit is contained in:
parent
4db96b9e83
commit
263deb5fd6
10 changed files with 95 additions and 100 deletions
|
|
@ -170,9 +170,7 @@ namespace MapControl
|
|||
ParentMap.ActualWidth > 0d &&
|
||||
ParentMap.ActualHeight > 0d)
|
||||
{
|
||||
var boundingBox = ParentMap.ViewRectToBoundingBox(new Rect(0d, 0d, ParentMap.ActualWidth, ParentMap.ActualHeight));
|
||||
|
||||
var uri = GetFeatureInfoRequestUri(boundingBox, position, format);
|
||||
var uri = GetFeatureInfoRequestUri(ParentMap.GeoBounds, position, format);
|
||||
|
||||
if (uri != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue