Search in sources :

Example 1 with MetricsLocation

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();
}
Also used : MetricsLocation(com.mapbox.services.android.navigation.v5.location.MetricsLocation)

Aggregations

MetricsLocation (com.mapbox.services.android.navigation.v5.location.MetricsLocation)1