VisioMove Essential (iOS)  1.21.0

◆ updateLocation:()

- (void) updateLocation: (VMELocation *)  update

Updates the uses current physical location within the map.

Parameters
updateThe location update to apply. If nil is passed, then the current location will be removed from the map.
Note
Calls to this method before mapDidLoad: (VMELifeCycleListener-p) is called will be ignored.
Example
#pragma mark - CLLocationManagerDelegate
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations
{
CLLocation* lCLLocation = locations.lastObject;
VMELocation* lVMELocation = [self.mapView createLocationFromLocation:lCLLocation];
[self.mapView updateLocation:lVMELocation];
}
Version
1.0
1.2 Change update parameter from CLLocation to VMELocation.
Visioglobe® 2015-2020