mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update BoundingBoxTileSource.cs
This commit is contained in:
parent
84d211bb01
commit
761bdf163f
|
|
@ -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…
Reference in a new issue