예제 #1
0
        private static void OnMapCenterChanged(BindableObject instance, object oldValue, object newValue)
        {
            MapView map = (MapView)instance;

            map.MapCenter = (GeoLocation)newValue;
        }
예제 #2
0
        private static void OnLocationsChanged(BindableObject instance, object oldValue, object newValue)
        {
            MapView map = (MapView)instance;

            map.Locations = (ObservableCollection <GeoLocation>)newValue;
        }