private static void OnMapCenterChanged(BindableObject instance, object oldValue, object newValue) { MapView map = (MapView)instance; map.MapCenter = (GeoLocation)newValue; }
private static void OnLocationsChanged(BindableObject instance, object oldValue, object newValue) { MapView map = (MapView)instance; map.Locations = (ObservableCollection <GeoLocation>)newValue; }