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)
|
||||
|
||||
using System;
|
||||
#if WINDOWS_UWP
|
||||
using Windows.Foundation;
|
||||
#else
|
||||
#if !WINDOWS_UWP
|
||||
using System.Windows;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -181,11 +181,11 @@ namespace ViewModel
|
|||
MaxBoundingBoxWidth = 360;
|
||||
}
|
||||
|
||||
protected override string GetCrsParam(MapProjection projection)
|
||||
protected override string GetImageUri()
|
||||
{
|
||||
return base.GetCrsParam(projection)
|
||||
.Replace("AUTO2:97001", "AUTO2:7CS01")
|
||||
.Replace("AUTO2:97002", "AUTO2:7CS02");
|
||||
return base.GetImageUri()
|
||||
.Replace("&CRS=AUTO2:97001,", "&CRS=AUTO2:7CS01,")
|
||||
.Replace("&CRS=AUTO2:97002,", "&CRS=AUTO2:7CS02,");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue