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.POItoTomTomSDKPOIVisualization.POILocation. - Change parameter 0 type of
TomTomSDKPOIVisualization.remove(pois:)fromTomTomSDKPOIVisualization.POItoTomTomSDKPOIVisualization.POILocation. - Change parameter 0 type of
TomTomSDKPOIVisualization.POITapObserver.didTap(on:marker:)fromTomTomSDKPOIVisualization.POItoTomTomSDKPOIVisualization.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.POILocationinstead.
Map
Updates
- Change
TomTomSDKMapDisplay.init(mapOptions:)initializertype fromconveniencetodesignatedto avoid calling aconvenience initializerfrom 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
routeReplanningRetryPolicytoreplanningRetryPolicyin the constructorTomTomNavigation.OnlineTomTomNavigationFactory.init(navigationTileStore:locationProvider:...).Use updated constructor
TomTomNavigation.OnlineTomTomNavigationFactory.init(navigationTileStore:locationProvider:...) -
Replace the argument
routeReplanner: RouteReplannerwithroutePlanner: RoutePlannerin the constructorTomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(navigationTileStore:locationProvider:...).Route Replanner is created with the corresponding Route Planner instance.
New features
- Add
geoJSONsupport 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
RoutingOptionsErrorif more than one budget is provided inRangeCalculationOptions.