mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Updated GeoApiProjectionFactory
This commit is contained in:
parent
e6b25c2f8d
commit
45b5d037bb
3 changed files with 11 additions and 38 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
#if WINUI
|
||||
using Microsoft.UI.Xaml;
|
||||
|
|
@ -14,7 +13,6 @@ using Windows.UI.Xaml;
|
|||
using Windows.UI.Xaml.Markup;
|
||||
#else
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Markup;
|
||||
#endif
|
||||
|
||||
|
|
@ -91,7 +89,7 @@ namespace MapControl.UiTools
|
|||
if (selectedProjection != projection)
|
||||
{
|
||||
selectedProjection = projection;
|
||||
Map.MapProjection = MapProjection.Factory.CreateProjection(selectedProjection);
|
||||
Map.MapProjection = MapProjection.Factory.GetProjection(selectedProjection);
|
||||
}
|
||||
|
||||
UpdateCheckedStates();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue