Version 4.16.0. Improved MapProjection

This commit is contained in:
ClemensF 2019-12-13 22:31:44 +01:00
parent bee675e9f1
commit ec7f56ca3f
2 changed files with 5 additions and 7 deletions

View file

@ -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

View file

@ -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,");
}
}
}