mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 15:36:20 +00:00
Version 2.0:
- Support for Windows Phone 8.1 by making MapControl.WinRT a portable library - Unified TileContainer and MapOverlay implementations across platforms
This commit is contained in:
parent
ed140c6d01
commit
10527c3f0d
83 changed files with 1512 additions and 1016 deletions
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
#if NETFX_CORE
|
||||
#if WINDOWS_RUNTIME
|
||||
using Windows.UI.Xaml;
|
||||
#else
|
||||
using System.Windows.Threading;
|
||||
|
|
@ -15,11 +15,12 @@ namespace ViewModel
|
|||
{
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void OnPropertyChanged(string propertyName)
|
||||
protected void RaisePropertyChanged(string propertyName)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
var propertyChanged = PropertyChanged;
|
||||
if (propertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
propertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -33,7 +34,7 @@ namespace ViewModel
|
|||
set
|
||||
{
|
||||
name = value;
|
||||
OnPropertyChanged("Name");
|
||||
RaisePropertyChanged("Name");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -44,7 +45,7 @@ namespace ViewModel
|
|||
set
|
||||
{
|
||||
location = value;
|
||||
OnPropertyChanged("Location");
|
||||
RaisePropertyChanged("Location");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +68,7 @@ namespace ViewModel
|
|||
set
|
||||
{
|
||||
mapCenter = value;
|
||||
OnPropertyChanged("MapCenter");
|
||||
RaisePropertyChanged("MapCenter");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue