Release Notes
Version 0.41.0 - 27/02/2024
General
Breaking changes
- Property
TomTomSDKNavigationVisualization.NavigationVisualization.safetyLocationVisualization
is now read-only. - Protocol
TomTomSDKNavigationVisualization.SafetyLocationVisualization
now requiresAnyObject
type.
Updates
- Add support for Xcode version 15.
- Move field POIID into POI class.
Map
New features
- Add better route visualization feature.
Updates
TomTomSDKMapDisplay.CurrentLocationButtonViewModel
is now available in Public Preview. Use it to control appearance of the current location button forTomTomSDKMapDisplay.MapView
.- Documentation improvement about map path and update path should not be same or contained in the other.
- Expand CameraTrackingMode and FollowCameraOperatorConfig inline-documentation regarding default values.
- Promote
TomTomSDKMapDisplay.CompassButtonViewModel
as experimental API. - TomTomSDKNavigationVisualization.BetterRouteStyle is now available for Public Preview.
- TomTomSDKNavigationVisualization.BetterRouteStyle.MarkerStyle is now available for Public Preview.
- TomTomSDKNavigationVisualization.BetterRouteTapInteractionObserver is now available for Public Preview.
- TomTomSDKNavigationVisualization.BetterRouteVisualization is now available for Public Preview.
- TomTomSDKNavigationVisualization.NavigationVisualization.betterRoute is now available for Public Preview.
Navigation
Breaking changes
- Change the return type in
TomTomSDKNavigation.ArrivalDetectionEngine.hasArrivedAtWaypoint(waypoint:navigationSnapshot:)
fromTomTomSDKNavigation.WaypointArrivalStatus
toTomTomSDKNavigation.WaypointStatus
. - Change the type of
TomTomSDKNavigation.RouteSnapshot.waypointArrivalHistory
fromArray<tomtomsdknavigation.waypointarrivalstatus>
toArray<tomtomsdknavigation.waypointstatus>
. - Include
TomTomSDKNavigation.NavigationStateChangeObserver
under typealiasTomTomSDKNavigation.NavigationObserver
. - Remove
TomTomSDKNavigation.NavigatedRoutes
. - Remove
TomTomSDKNavigation.NavigationEvent.NavigationStartEvent
. - Remove
TomTomSDKNavigation.NavigationMode
. - Remove
TomTomSDKNavigation.NavigationStartObserver
. To observe navigation state changes useTomTomSDKNavigation.NavigationStateChangeObserver
. To observe active route change useTomTomSDKNavigation.NavigationActiveRouteChangeObserver
. - Remove
TomTomSDKNavigation.TomTomNavigation.addStartObserver(_:)
. To observe navigation state changes useTomTomSDKNavigation.NavigationStateChangeObserver
. To observer active route change useTomTomSDKNavigation.NavigationActiveRouteChangeObserver
. - Remove
TomTomSDKNavigation.TomTomNavigation.removeStartObserver(_:)
. - Remove the property
TomTomSDKNavigationEngines.RouteSnapshot.isFollowed
from the public preview API. - Rename
TomTomNavigation. RouteRemovedEvent ` to `TomTomNavigation.RouteRemoveEvent
. - Rename
TomTomNavigation.ActiveRouteChangedEvent
toTomTomNavigation.ActiveRouteChangeEvent
. - Rename
TomTomNavigation.GuidanceUpdatedEvent
toTomTomNavigation.GuidanceUpdateEvent
. - Rename
TomTomNavigation.LaneGuidanceUpdatedEvent
toTomTomNavigation. LaneGuidanceUpdateEvent
. - Rename
TomTomNavigation.RouteAddedEvent
toTomTomNavigation.RouteAddEvent
. - Rename
TomTomSDKNavigationEngines.WaypointArrivalState.reached
intoTomTomSDKNavigationEngines.WaypointState.arrived
. - Rename
TomTomSDKNavigationEngines.WaypointArrivalState.visited
intoTomTomSDKNavigationEngines.WaypointState.departed
. - Rename
TomTomSDKNavigationEngines.WaypointArrivalState
intoTomTomSDKNavigationEngines.WaypointState
. - Rename
TomTomSDKNavigationEngines.WaypointArrivalStatus
intoTomTomSDKNavigationEngines.WaypointStatus
. - Rename the property
TomTomSDKNavigation.RouteSnapshot.waypointArrivalHistory
intoTomTomSDKNavigation.RouteSnapshot.waypointHistory
. - TomTomSDKNavigationEngines.RouteWaypointState struct is no longer available.
Updates
TomTomSDKNavigationEngines.WaypointState
is now available in General Availability.TomTomSDKNavigationEngines.WaypointStatus
is now available in General Availability.- Add
TomTomSDKNavigation.NavigationEvent.NavigationStateChangeEvent
. - Add
TomTomSDKNavigation.NavigationState
. - Add
TomTomSDKNavigation.NavigationStateChangeObserver
. - Add
TomTomSDKNavigation.TomTomNavigation.addNavigationStateChangeObserver(_:)
. - Add
TomTomSDKNavigation.TomTomNavigation.navigationState
. - Add
TomTomSDKNavigation.TomTomNavigation.removeNavigationStateChangeObserver(_:)
. - Update of
TomTomSDKNavigationEngines.RouteProgress
documentation. - Update the documentation of
TomTomSDKNavigationEngines.RouteSnapshot
. - Update the documentation of
TomTomSDKNavigationEngines.TripSnapshot
.
Routing
New features
- Use TomTomSDKRoute.LaneSection.isManeuver to find whether a lane section is a maneuver lane section or not.
Updates
- Document that traffic section IDs are currently not available for online routes.
- Field TomTomSDKRoute.Sections.tollSections is now available in General Availability.
- Field TomTomSDKRouting.Common.AvoidOptions.vignettes is now available in General Availability.
- Init function of TomTomSDKRoute.Sections accepting the parameter tollSections is now available in General Availability.
- TomTomSDKRoute.TollSection is now available in General Availability.
- TomTomSDKRouting.Common.vignettes is now available in General Availability.
Search
Fixes
- Fix Custom POI search support for
TomTomSDKCommon.POI.fuelTypes
andTomTomSDKCommon.POI.chargingPark
forTomTomSDKSearchOnlineCustomData
andTomTomSDKSearchOffline
.
Updates
- Added new field POIID into POI for SearchOnline.
- Made cancellation for Search Offline more stable and deterministic, by additional checking cancellation on the highest level before returning results.