mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Version 4.16.0. Improved MapProjection
This commit is contained in:
parent
bee675e9f1
commit
ec7f56ca3f
|
|
@ -3,9 +3,7 @@
|
||||||
// Licensed under the Microsoft Public License (Ms-PL)
|
// Licensed under the Microsoft Public License (Ms-PL)
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
#if WINDOWS_UWP
|
#if !WINDOWS_UWP
|
||||||
using Windows.Foundation;
|
|
||||||
#else
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -181,11 +181,11 @@ namespace ViewModel
|
||||||
MaxBoundingBoxWidth = 360;
|
MaxBoundingBoxWidth = 360;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string GetCrsParam(MapProjection projection)
|
protected override string GetImageUri()
|
||||||
{
|
{
|
||||||
return base.GetCrsParam(projection)
|
return base.GetImageUri()
|
||||||
.Replace("AUTO2:97001", "AUTO2:7CS01")
|
.Replace("&CRS=AUTO2:97001,", "&CRS=AUTO2:7CS01,")
|
||||||
.Replace("AUTO2:97002", "AUTO2:7CS02");
|
.Replace("&CRS=AUTO2:97002,", "&CRS=AUTO2:7CS02,");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue