mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Update BoundingBoxTileSource.cs
This commit is contained in:
parent
84d211bb01
commit
761bdf163f
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ namespace MapControl
|
|||
|
||||
if (UriTemplate != null)
|
||||
{
|
||||
var tileSize = 360d / (1 << zoomLevel); // tile width in degrees
|
||||
var tileSize = 360d / (1 << zoomLevel); // tile size in degrees
|
||||
var west = MapProjection.Wgs84MeterPerDegree * (column * tileSize - 180d);
|
||||
var east = MapProjection.Wgs84MeterPerDegree * ((column + 1) * tileSize - 180d);
|
||||
var south = MapProjection.Wgs84MeterPerDegree * (180d - (row + 1) * tileSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue