use of com.mapbox.services.android.navigation.v5.location.MetricsLocation in project mapbox-navigation-android by mapbox.
the class NavigationTelemetry method updateCurrentLocation.
private void updateCurrentLocation(Location rawLocation) {
metricLocation = new MetricsLocation(rawLocation);
locationBuffer.addLast(rawLocation);
// Check queued reroute events
checkRerouteQueue();
// Check queued feedback events
checkFeedbackQueue();
}
Aggregations