Release Notes
Version 0.48.0 - 15/05/2024
Discover the improvements and new features included in the following version. Share your thoughts on this release by using the feedback button located at the bottom of the page.
General
Breaking changes
- Change parameter 0 type of
TomTomSDKPOIVisualization.display(pois:)
fromTomTomSDKPOIVisualization.POI
toTomTomSDKPOIVisualization.POILocation
. - Change parameter 0 type of
TomTomSDKPOIVisualization.remove(pois:)
fromTomTomSDKPOIVisualization.POI
toTomTomSDKPOIVisualization.POILocation
. - Change parameter 0 type of
TomTomSDKPOIVisualization.POITapObserver.didTap(on:marker:)
fromTomTomSDKPOIVisualization.POI
toTomTomSDKPOIVisualization.POILocation
. - Change parameter 2 type of
TomTomSDKPOIVisualization.displayPOIsAlongRoute(geometry:configuration:completion)
from@escaping (Swift.Result<[TomTomSDKPOIVisualization.POI], any Swift.Error>)
to@escaping (Swift.Result<[TomTomSDKPOIVisualization.POILocation], any Swift.Error>)
. - Increase the minimum supported iOS version from 13 to 14 to take advantage of the latest features and improvements available in iOS 14.
- Remove struct
TomTomSDKPOIVisualization.POI
. You should now useTomTomSDKPOIVisualization.POILocation
instead.
Map
Updates
- Change
TomTomSDKMapDisplay.init(mapOptions:)
initializer
type fromconvenience
todesignated
to avoid calling aconvenience initializer
from the subclass.
Fixes
- Traffic jams without delay are no longer drawn on the route.
Navigation
Breaking changes
-
Change the order of the arguments in the constructor
TomTomSDKNavigation.OfflineTomTomNavigationFactory.Configuration.init(ndsMapContext:locationProvider:...)
. -
Rename the argument
routeReplanningRetryPolicy
toreplanningRetryPolicy
in the constructorTomTomNavigation.OnlineTomTomNavigationFactory.init(navigationTileStore:locationProvider:...)
.Use updated constructor
TomTomNavigation.OnlineTomTomNavigationFactory.init(navigationTileStore:locationProvider:...)
-
Replace the argument
routeReplanner: RouteReplanner
withroutePlanner: RoutePlanner
in the constructorTomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(navigationTileStore:locationProvider:...)
.Route Replanner is created with the corresponding Route Planner instance.
New features
- Add
geoJSON
support for better route proposal. It enhances the stylization capability based on MapLibre style specifications.
Updates
- The constructor
TomTomSDKNavigation.OfflineTomTomNavigationFactory.Configuration.init(ndsStore:locationProvider:routeReplanner:vehicleProvider:betterProposalAcceptanceMode:deviationReplanningMode:)
is available in Public Preview.
Routing
Updates
- Throw
RoutingOptionsError
if more than one budget is provided inRangeCalculationOptions
.