mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
Updated WmsImageLayer
This commit is contained in:
parent
91f1960a00
commit
07a189a00a
3 changed files with 88 additions and 129 deletions
|
|
@ -77,15 +77,5 @@ namespace MapControl
|
|||
//
|
||||
return new Rect(0d, 0d, viewWidth, viewHeight).TransformToAABB(transform);
|
||||
}
|
||||
|
||||
internal static Matrix CreateTransformMatrix(
|
||||
double translation1X, double translation1Y,
|
||||
double rotation,
|
||||
double translation2X, double translation2Y)
|
||||
{
|
||||
return Matrix.CreateTranslation(translation1X, translation1Y)
|
||||
* Matrix.CreateRotation(Matrix.ToRadians(rotation))
|
||||
* Matrix.CreateTranslation(translation2X, translation2Y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue