Version 4.10.0: Added MapProjections library project.

This commit is contained in:
ClemensF 2018-10-03 01:06:40 +02:00
parent 7b9af287cc
commit 0d0b98d7d7

View file

@ -34,7 +34,12 @@ namespace MapControl.Projections
get { return coordinateTransform; }
set
{
coordinateTransform = value ?? throw new ArgumentNullException("The property value must not be null.");
if (value == null)
{
throw new ArgumentNullException("The property value must not be null.");
}
coordinateTransform = value;
mathTransform = coordinateTransform.MathTransform;
inverseTransform = mathTransform.Inverse();