mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Minor improvements
This commit is contained in:
parent
91879054fa
commit
7cf4ed47a3
4 changed files with 9 additions and 9 deletions
|
|
@ -72,8 +72,8 @@ namespace MapControl.Projections
|
|||
}
|
||||
else
|
||||
{
|
||||
var projection = coordinateSystem.Projection
|
||||
?? throw new ArgumentException("CoordinateSystem.Projection must not be null.", nameof(value));
|
||||
var projection = coordinateSystem.Projection ??
|
||||
throw new ArgumentException("CoordinateSystem.Projection must not be null.", nameof(value));
|
||||
|
||||
var centralMeridian = projection.GetParameter("central_meridian") ?? projection.GetParameter("longitude_of_origin");
|
||||
var centralParallel = projection.GetParameter("central_parallel") ?? projection.GetParameter("latitude_of_origin");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue