Version 5.0.1: Dropped MapProjection.UnitsPerDegree

This commit is contained in:
ClemensF 2020-04-02 18:06:39 +02:00
parent 2b41d298f4
commit 43c33c2564
12 changed files with 29 additions and 50 deletions

View file

@ -30,7 +30,7 @@ namespace MapControl
private double GetLineDistance()
{
var pixelPerDegree = ParentMap.ViewTransform.Scale * ParentMap.MapProjection.UnitsPerDegree;
var pixelPerDegree = ParentMap.ViewTransform.Scale * MapProjection.Wgs84MetersPerDegree;
var minDistance = MinLineDistance / pixelPerDegree;
var scale = 1d;