mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Version 4.17.0: Added support for WMTS
This commit is contained in:
parent
31a58c3510
commit
e3332e44d4
2 changed files with 5 additions and 4 deletions
|
|
@ -187,7 +187,7 @@ namespace MapControl
|
|||
public void SetViewportTransform(Location projectionCenter, Location mapCenter, Point viewportCenter, double zoomLevel, double rotation)
|
||||
{
|
||||
ProjectionCenter = projectionCenter;
|
||||
ViewportScale = Math.Pow(2d, zoomLevel) * 256d / (360d * TrueScale);
|
||||
ViewportScale = 256d * Math.Pow(2d, zoomLevel) / (360d * TrueScale);
|
||||
ViewportRotation = rotation;
|
||||
|
||||
var center = LocationToPoint(mapCenter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue