Exemple #1
0
        public override void UpdatedLocation(CLLocationManager manager, CLLocation newLocation, CLLocation oldLocation)
        {
            Console.WriteLine("New location data = {0}", newLocation.Description());

            _locationHelper.Locations.Insert(0, newLocation);
            _locationHelper.LocationObjects.Insert(0, newLocation.Description());

            _locationHelper.RaiseLocationObjectAdded();
        }
 public override void UpdatedLocation (CLLocationManager manager, CLLocation newLocation, CLLocation oldLocation)
 {
     Console.WriteLine ("New location data = {0}", newLocation.Description ());
     
     _helper.Locations.Add (newLocation);
     
     if (_helper.LocationAdded != null)
         _helper.LocationAdded (_helper, new EventArgs ());
 }
            public override void UpdatedLocation(CLLocationManager manager, CLLocation newLocation, CLLocation oldLocation)
            {
                Console.WriteLine("New location data = {0}", newLocation.Description());

                _helper.Locations.Add(newLocation);

                if (_helper.LocationAdded != null)
                {
                    _helper.LocationAdded(_helper, new EventArgs());
                }
            }
        public override void UpdatedLocation(CLLocationManager manager, CLLocation newLocation, CLLocation oldLocation)
        {
            Console.WriteLine("New location data = {0}", newLocation.Description());

            _locationHelper.Locations.Insert(0, newLocation);
            _locationHelper.LocationObjects.Insert(0, newLocation.Description());

            _locationHelper.RaiseLocationObjectAdded();
        }