Release Notes
Version 0.46.1 - 06/05/2024
Discover the improvements and new features included in the following release notes version. Share your thoughts on this release by using the feedback button located at the bottom of the page.
Map
Updates
- Change
TomTomSDKMapDisplay.init(mapOptions:)
convenience init to designated.
Version 0.46.0 - 22/04/2024
Map
Deprecations
- Deprecate 'TomTomSDKMapDisplay.MapInteraction.interactionStarted'.
New features
- Expose 'reachableDistance' property on route.
- Make the marker bigger for better route visualization in Navigation Visualization.
Fixes
- Fix route update case for 'BetterRouteProposal' in 'NavigationVisualization'.
- Hide departure and destination marker images for a better route.
Updates
-
Remove the @Published wrapper from the following APIs:
TomTomSDKMapDisplay.CompassButton.isVisible
TomTomSDKMapDisplay.CompassButton.visibilityPolicy
-
The following APIs are now available in Public Preview:
TomTomSDKMapDisplay.CompassButtonViewModel
TomTomSDKMapDisplay.CurrentLocationButtonViewModel.offset
TomTomSDKMapDisplay.LogoViewModel
TomTomSDKMapDisplay.MapView.compassButton
TomTomSDKMapDisplay.ScaleViewModel
TomTomSDKMapDisplay.TomTomMap.currentLocationButton
TomTomSDKMapDisplay.TomTomMap.logoView
TomTomSDKMapDisplay.TomTomMap.scaleView
TomTomSDKMapDisplay.TomTomMap.zoomControlsView
TomTomSDKMapDisplay.ZoomControlsViewModel
Navigation
Breaking changes
-
NDSStoreUpdater.findRegionsAroundPosition
andNDSStoreUpdater.findRegionsAlongPolyline
throwMapUpdateError/invalidArgument
instead ofMapUpdateError/invalidLocation
. -
All
NDSStoreUpdater.MapUpdaterError
types are reported with associated data. -
Change
endLocation
parameter type to non-optional and remove default value in the initializerTomTomSDKCommon.SafetyLocation.init(id:type:speedLimit:startLocation:endLocation:)
. -
Remove
TomTomSDKNavigationEngines.RouteProgress.InitializationError
from the public API. -
Rename
TomTomSDKSafetyCameras.SafetyLocationsConfiguration.init(apiKey:authenticationServerUri)
initializer toTomTomSDKSafetyCameras.SafetyLocationsConfiguration.init(apiKey:authenticationServerURI)
. -
Rename the following
NDSStoreUpdater.MapUpdateError
enum elements:MapUpdateError.fileReadError
MapUpdateError.fileValidationError
MapUpdateError.invalidHashFunction
MapUpdateError.invalidLocation
MapUpdateError.missingUpdates
-
Rename TomTomSDKSafetyCameras.SafetyLocationsConfiguration.authenticationServerUri property to TomTomSDKSafetyCameras.SafetyLocationsConfiguration.authenticationServerURI.
-
Replace
NDSStoreUpdater.MapUpdateError.unknown
byNDSStoreUpdater.MapUpdateError.unexpected
.
New features
- Enable safety location on most probable path.
Fixes
- Correct offsets of safety locations horizon elements.
- Current route data is refreshed when receiving a better route proposal.
- Fix
TomTomSDKNavigation.NavigationActiveRouteChangeObserver.didChangeActiveRoute
event so it is not called twice when there is a deviation. - Fix the data race in
SubscriptionManager
. - Fix the stability of tests in Unified RouteProjection.
- Provide full horizon element geometry if it overlaps active horizon attributes.
Updates
TomTomSDKNavigationEngines.RouteProgress
is now available in General Availability.- Add initializer
TomTomSDKCommon.SafetyLocation.init(id:type:speedLimit:startLocation:)
. - Improve imported track stick-to-route functionality on consequent deviations.
- The property
TomTomSDKNavigationEngines.RouteSnapshot.routeProgress
is now available in General Availability.
Routing
Breaking changes
TomTomSDKRoutePlanner.GuidanceOptions.guidanceVersion
is no longer part of the public API.- Class
TomTomSDKRoutePlannerOffline.OfflineRangeCalculator
is no longer part of the public API, instead useTomTomSDKRoutePlannerOffline.OfflineRangeCalculatorFactory
to create an offline range calculator instance. - Class
TomTomSDKRoutePlannerOnline.OnlineRangeCalculator
is no longer part of the public API, instead useTomTomSDKRoutePlannerOnline.OnlineRangeCalculatorFactory
to create an offline range calculator instance. - Deprecate
TomTomSDKRoutePlanner.OnlineAPIVersion
. - Remove 'Enum OfflineRangeCalculator.RangeError'.
Fixes
- Expose a unique identifier for route sections.
- Return correct error code on route planning timeout.
- Use vehicle's 'numberOfAxles' in Routing API requests.
Updates
- 'TomTomSDKCommon.Request.AvoidOptions' initializer is now in General Availability.
- Create
TomTomSDKRoutePlannerOffline.OfflineRangeCalculatorFactory
class. - Create
TomTomSDKRoutePlannerOnline.OnlineRangeCalculatorFactory
class. - Create new SDK framework 'TomTomSDKRangeCalculatorOffline'.
- Improve support of electric engine for planning routes when not using 'chargingOptions' and using Orbis map.
- Improve the documentation of
TomTomSDKRoutePlanner.GuidanceOptions.extendedSections
parameter. - Publish new framework 'TomTomSDKRangeCalculatorOffline'.
- We no longer optimize supporting points on input anymore.
Search
New features
- Publish
TomTomSDKPersonalLocationOnline
.
Fixes
- Allow using 'SearchUI' without setting
feedbackID
.
Updates
- Add a note about 'EVSearch' filter.
Traffic
Breaking changes
TomTomSDKTraffic.TrafficService
typealias is no longer available.
Updates
- Improve traffic module documentation content.