Esempio n. 1
0
        private static void OnMapCenterChanged(BindableObject instance, object oldValue, object newValue)
        {
            MapView map = (MapView)instance;

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

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