mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Version 4.10.0: Added MapProjections library project.
This commit is contained in:
parent
7b9af287cc
commit
0d0b98d7d7
|
|
@ -34,7 +34,12 @@ namespace MapControl.Projections
|
||||||
get { return coordinateTransform; }
|
get { return coordinateTransform; }
|
||||||
set
|
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;
|
mathTransform = coordinateTransform.MathTransform;
|
||||||
inverseTransform = mathTransform.Inverse();
|
inverseTransform = mathTransform.Inverse();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue