private static void OnPositionOriginChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs eventArgs) { MapLayer.SetPositionOrigin(d, (Microsoft.Phone.Controls.Maps.PositionOrigin)eventArgs.get_NewValue()); }
private static void OnLocationChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs eventArgs) { MapLayer.SetPosition(d, (System.Device.Location.GeoCoordinate)eventArgs.get_NewValue()); }