Release Notes

Version 0.41.0 - 27/02/2024

General

Breaking changes

  • Property TomTomSDKNavigationVisualization.NavigationVisualization.safetyLocationVisualization is now read-only.
  • Protocol TomTomSDKNavigationVisualization.SafetyLocationVisualization now requires AnyObject 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 for TomTomSDKMapDisplay.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.

Breaking changes

  • Change the return type in TomTomSDKNavigation.ArrivalDetectionEngine.hasArrivedAtWaypoint(waypoint:navigationSnapshot:) from TomTomSDKNavigation.WaypointArrivalStatus to TomTomSDKNavigation.WaypointStatus .
  • Change the type of TomTomSDKNavigation.RouteSnapshot.waypointArrivalHistory from Array<tomtomsdknavigation.waypointarrivalstatus> to Array<tomtomsdknavigation.waypointstatus> .
  • Include TomTomSDKNavigation.NavigationStateChangeObserver under typealias TomTomSDKNavigation.NavigationObserver.
  • Remove TomTomSDKNavigation.NavigatedRoutes.
  • Remove TomTomSDKNavigation.NavigationEvent.NavigationStartEvent.
  • Remove TomTomSDKNavigation.NavigationMode.
  • Remove TomTomSDKNavigation.NavigationStartObserver . To observe navigation state changes use TomTomSDKNavigation.NavigationStateChangeObserver. To observe active route change use TomTomSDKNavigation.NavigationActiveRouteChangeObserver.
  • Remove TomTomSDKNavigation.TomTomNavigation.addStartObserver(_:). To observe navigation state changes use TomTomSDKNavigation.NavigationStateChangeObserver. To observer active route change use TomTomSDKNavigation.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 to TomTomNavigation.ActiveRouteChangeEvent.
  • Rename TomTomNavigation.GuidanceUpdatedEvent to TomTomNavigation.GuidanceUpdateEvent.
  • Rename TomTomNavigation.LaneGuidanceUpdatedEvent to TomTomNavigation. LaneGuidanceUpdateEvent.
  • Rename TomTomNavigation.RouteAddedEvent to TomTomNavigation.RouteAddEvent.
  • Rename TomTomSDKNavigationEngines.WaypointArrivalState.reached into TomTomSDKNavigationEngines.WaypointState.arrived.
  • Rename TomTomSDKNavigationEngines.WaypointArrivalState.visited into TomTomSDKNavigationEngines.WaypointState.departed.
  • Rename TomTomSDKNavigationEngines.WaypointArrivalState into TomTomSDKNavigationEngines.WaypointState.
  • Rename TomTomSDKNavigationEngines.WaypointArrivalStatus into TomTomSDKNavigationEngines.WaypointStatus.
  • Rename the property TomTomSDKNavigation.RouteSnapshot.waypointArrivalHistory into TomTomSDKNavigation.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.

Fixes

  • Fix Custom POI search support for TomTomSDKCommon.POI.fuelTypes and TomTomSDKCommon.POI.chargingPark for TomTomSDKSearchOnlineCustomData and TomTomSDKSearchOffline.

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.