mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Removed LatLonBox
The rotation behavior of a KML LatLonBox has no sufficiently precise specification.
This commit is contained in:
parent
6c89dfcdae
commit
a0e82964ef
10 changed files with 75 additions and 144 deletions
|
|
@ -193,7 +193,7 @@ namespace MapControl
|
|||
var x = (ParentMap.ActualWidth - width) / 2d;
|
||||
var y = (ParentMap.ActualHeight - height) / 2d;
|
||||
var mapRect = ParentMap.ViewTransform.ViewToMapBounds(new Rect(x, y, width, height));
|
||||
boundingBox = ParentMap.MapProjection.MapToBoundingBox(mapRect);
|
||||
boundingBox = ParentMap.MapProjection.MapToBoundingBox(mapRect, true);
|
||||
|
||||
if (boundingBox != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue