mapbox-navigation-ios
mapbox-navigation-ios copied to clipboard
RouteOptions activityType
Description
We found that otherNavigation activity type produces better GPS data in comparison to automotiveNavigation we used previously, with just marginally bigger battery consumptions. So we've decided to update the default value and expose a clear path for customizing it by anyone who still prefers automotiveNavigation or any other type.
Implementation
Exposed RouteOptions.activityType open; changed default value to otherNavigation
Breaking Changes in MapboxCoreNavigation
Breaking API Changes
lastInstruction
-
modified var:
lastInstructionType of change: Access Level From: openTo: public
calculateWithCache(options:completionHandler:)
-
modified method:
calculateWithCache(options:completionHandler:)Type of change: Access Level From: openTo: public
isMotorway
-
modified var:
isMotorwayType of change: Access Level From: openTo: public
calculateOffline(options:completionHandler:)
-
modified method:
calculateOffline(options:completionHandler:)Type of change: Access Level From: openTo: public
Breaking Changes in MapboxCoreNavigation
Breaking API Changes
lastInstruction
-
modified var:
lastInstructionType of change: Access Level From: openTo: public
calculateWithCache(options:completionHandler:)
-
modified method:
calculateWithCache(options:completionHandler:)Type of change: Access Level From: openTo: public
calculateOffline(options:completionHandler:)
-
modified method:
calculateOffline(options:completionHandler:)Type of change: Access Level From: openTo: public
isMotorway
-
modified var:
isMotorwayType of change: Access Level From: openTo: public
Code LGTM, just waiting for all the checks to be completed.
Breaking Changes in MapboxCoreNavigation
Breaking API Changes
MapboxNavigationService
-
removed method:
init(routeResponse:routeIndex:routeOptions:customRoutingProvider:credentials:locationSource:eventsManagerType:simulating:routerType:)inMapboxNavigationService