Update GeoApiProjection.cs

This commit is contained in:
Clemens 2022-02-20 18:22:39 +01:00
parent 58ee89a8fd
commit 5a02ed9345

View file

@ -86,7 +86,7 @@ namespace MapControl.Projections
(centralParallel == null || centralParallel.Value == 0d) &&
(falseEasting == null || falseEasting.Value == 0d) &&
(falseNorthing == null || falseNorthing.Value == 0d);
IsWebMercator = CrsId == "EPSG:3857" || CrsId == "EPSG:900913";
IsWebMercator = CrsId == "EPSG:3857";
scaleFactor = 1d;
bboxFormat = "{0},{1},{2},{3}";
}