mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Version 4.10.0: Added MapProjections library project.
This commit is contained in:
parent
7b9af287cc
commit
0d0b98d7d7
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue