Fixed MapProjection.Center

This commit is contained in:
Clemens 2022-03-07 17:28:08 +01:00
parent eb5b76d78a
commit f841e42e39
4 changed files with 15 additions and 21 deletions

View file

@ -25,7 +25,6 @@ namespace MapControl.Projections
public class GeoApiProjection : MapProjection
{
private ICoordinateSystem coordinateSystem;
private Location center;
private double scaleFactor;
private string bboxFormat;
@ -101,10 +100,6 @@ namespace MapControl.Projections
Type = MapProjectionType.TransverseCylindrical;
}
Center = new Location(
centralParallel != null ? centralParallel.Value : 0d,
centralMeridian != null ? centralMeridian.Value : 0d);
scaleFactor = 1d;
bboxFormat = "{0},{1},{2},{3}";
}