public MapViewModel(IBeaconWatcher beaconWatcher, IBeaconGeolocator beaconGeolocator, IMapServiceClient mapServiceClient) { _beaconWatcher = beaconWatcher; _beaconGeolocator = beaconGeolocator; _mapServiceClient = mapServiceClient; _compass = Compass.GetDefault(); _compassTimer = new DispatcherTimer() { Interval = TimeSpan.FromMilliseconds(30) }; _compassTimer.Tick += _compassTimer_Tick; }
public MsieaBeaconGeolocator(IMapServiceClient mapServiceClient) { _mapServiceClient = mapServiceClient; }