Version 4.12.2 Fixed MapProjections.

This commit is contained in:
ClemensF 2019-06-10 11:28:15 +02:00
parent 8491a4fc7c
commit a7d3edf154
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Data.SQLite"> <PackageReference Include="Microsoft.Data.SQLite">
<Version>2.2.3</Version> <Version>2.2.4</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform"> <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.8</Version> <Version>6.2.8</Version>

View file

@ -59,7 +59,7 @@ namespace MapControl.Projections
if (scaleFactor != null) if (scaleFactor != null)
{ {
TrueScale = scaleFactor.Value * MetersPerDegree; TrueScale = scaleFactor.Value * Wgs84MetersPerDegree;
} }
if (!IsNormalCylindrical) if (!IsNormalCylindrical)

View file

@ -27,7 +27,7 @@ namespace MapControl.Projections
public PolarStereographicProjection(string crsId, bool north, double scaleFactor = 1d, double falseEasting = 0d, double falseNorthing = 0d) public PolarStereographicProjection(string crsId, bool north, double scaleFactor = 1d, double falseEasting = 0d, double falseNorthing = 0d)
{ {
CrsId = crsId; CrsId = crsId;
TrueScale = scaleFactor * MetersPerDegree; TrueScale = scaleFactor * Wgs84MetersPerDegree;
this.north = north; this.north = north;
this.scaleFactor = scaleFactor; this.scaleFactor = scaleFactor;
this.falseEasting = falseEasting; this.falseEasting = falseEasting;