VisioMove Essential (Android)  1.27.6

◆ updateLocation()

void updateLocation ( VMELocation  location)

Updates the users current physical location within the map.

Parameters
locationThe location update to apply.
Note
Calls to this method before listeners::VMELifeCycleListener.mapDidLoad(VMEMapView) is called will be ignored.
This method filters unnecessary location updates. A location update is filtered if:
  • it's received less than a second since the previous update
  • it's the same as the previous update
  • it falls outside of the map's limits
Version
1.2
Example
// From the implementation of your LocationListener interface.
@Override
public void onLocationChanged(Location location) {
VMELocation lVMELocation = mMapView.createLocationFromLocation(location);
mMapView.updateLocation(lVMELocation);
}
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy