mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-13 12:10:07 +01:00
Update GeoApiProjection.cs
This commit is contained in:
parent
a741877e80
commit
70afff72e0
|
|
@ -61,9 +61,9 @@ namespace MapControl.Projections
|
|||
.CreateFromCoordinateSystems(coordinateSystem, GeographicCoordinateSystem.WGS84)
|
||||
.MathTransform;
|
||||
|
||||
CrsId = (!string.IsNullOrEmpty(coordinateSystem.Authority) && coordinateSystem.AuthorityCode > 0)
|
||||
? string.Format("{0}:{1}", coordinateSystem.Authority, coordinateSystem.AuthorityCode)
|
||||
: "";
|
||||
CrsId = !string.IsNullOrEmpty(coordinateSystem.Authority) && coordinateSystem.AuthorityCode > 0
|
||||
? $"{coordinateSystem.Authority}:{coordinateSystem.AuthorityCode}"
|
||||
: string.Empty;
|
||||
|
||||
if (CrsId == "EPSG:3857")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue