mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-05-07 13:37:47 +00:00
Renamed Wgs84MetersPerDegree
This commit is contained in:
parent
535161c5a3
commit
c998f19fe5
11 changed files with 32 additions and 32 deletions
|
|
@ -16,10 +16,10 @@ namespace MapControl
|
|||
if (UriFormat != null)
|
||||
{
|
||||
var tileSize = 360d / (1 << zoomLevel); // tile width in degrees
|
||||
var west = MapProjection.Wgs84MetersPerDegree * (x * tileSize - 180d);
|
||||
var east = MapProjection.Wgs84MetersPerDegree * ((x + 1) * tileSize - 180d);
|
||||
var south = MapProjection.Wgs84MetersPerDegree * (180d - (y + 1) * tileSize);
|
||||
var north = MapProjection.Wgs84MetersPerDegree * (180d - y * tileSize);
|
||||
var west = MapProjection.Wgs84MeterPerDegree * (x * tileSize - 180d);
|
||||
var east = MapProjection.Wgs84MeterPerDegree * ((x + 1) * tileSize - 180d);
|
||||
var south = MapProjection.Wgs84MeterPerDegree * (180d - (y + 1) * tileSize);
|
||||
var north = MapProjection.Wgs84MeterPerDegree * (180d - y * tileSize);
|
||||
|
||||
if (UriFormat.Contains("{bbox}"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue