Release Notes
Version 0.36.0 - 14/12/2023
Check the API ReferenceGeneral
Breaking changes
RegionGraphChangeEventscan now no longer be constructed by the client.- Replaced
TomTomSDKCommon.Van.init(maxSpeed:isCommercial:combustionEngine:electricEngine:dimensions:modelID:)initializer withTomTomSDKCommon.Van.init(maxSpeed:isCommercial:combustionEngine:electricEngine:dimensions:loadType:generalLoadType:dangerousGoodsLoadType:adrTunnelRestrictionCode:modelID:). - The errorCode parameter of
CompletedMapOperationis renamed to error.
New Features
- Make
TomTomSDKCommon.Vanconforming toTomTomSDKCommon.CargoCapableprotocol.
Known issues
An incorrect routing endpoint is set by default in Guidance v2, making route calculations impossible with version 0.36.0 for some customers. Potential problems include prompts for a valid API key, such as:
“Your API key is invalid.” “Your API key does not support either the Routing API or the Routing API with Extended Guidance endpoints.”.
Resolution of the issue involves upgrading SDK to version 0.39.1 or later.
Map
Breaking changes
- Add FollowRouteNorthUp camera tracking mode.
New Features
- Add support for single geoJSON polygon.
- Implement better route proposals in NV module.
- Introduce GeoJSON support for polygon overlay.
Fixes
- Disable range visualization on the route by default.
Navigation
Breaking changes
BetterProposalAcceptanceMode.defaultvalue was removed. UseBetterProposalAcceptanceMode.automaticinstead.- Properties of
TomTomSDKNavigation.NavigationSnapshotError.unavailableRoutePlanhas been replaced withTomTomSDKNavigation.NavigationSnapshotError.unavailableTripSnapshot. - Removed
TomTomSDKNavigation.DeviationReplanningMode.defaultcase. UseTomTomSDKNavigation.DeviationReplanningMode.automaticinstead. - Removed
TomTomSDKNavigationEngines.HorizonElementType.regionType. - Removed
TomTomSDKNavigationEngines.RegionElement. UseTomTomSDKNavigationEngines.CountryInformationElement.countryNameinstead ofTomTomSDKNavigationEngines.RegionElement.country. UseTomTomSDKNavigationEngines.CountryInformationElement.regionNameinstead ofTomTomSDKNavigationEngines.RegionElement.subCountry. - Removed
TomTomSDKNavigationEngines.RoutePlanChangeReason. - Renamed
TomTomSDKNavigation.NavigationRouteTrackingStateUpdateObserver.onRouteTrackingStateUpdatetoTomTomSDKNavigation.NavigationRouteTrackingStateUpdateObserver.didUpdateRouteTrackingState. - Renamed
TomTomSDKNavigationEngines.CountryInformationElement.countryCodetoTomTomSDKNavigationEngines.CountryInformationElement.countryCodeISO3. - The following properties of
TomTomSDKNavigation.NavigationSnapshothas been replaced or removed:NavigationSnapshot.locationhas been replaced withNavigationSnapshot.locationSnapshot.rawLocation.NavigationSnapshot.lastMapMatchingResulthas been replaced withNavigationSnapshot.locationSnapshot.mapMatchingResult.NavigationSnapshot.locationContexthas been replaced withNavigationSnapshot.locationSnapshot.locationContext.NavigationSnapshot.activeRouteDatahas been replaced withNavigationSnapshot.tripSnapshot.activeRouteandNavigationSnapshot.tripSnapshot.betterProposal.NavigationSnapshot.alternativeRoutePlanshas been removed fromNavigationSnapshotAPI level.NavigationSnapshot.currentRouteProgresshas been replaced withNavigationSnapshot.tripSnapshot.activeRoute.routeProgress.NavigationSnapshot.currentWaypointsStatehas been replaced withNavigationSnapshot.tripSnapshot.activeRoute.nextWaypoint,NavigationSnapshot.tripSnapshot.activeRoute.numberOfVisitedWaypointsandNavigationSnapshot.tripSnapshot.activeRoute.waypointArrivalHistory.NavigationSnapshot.unitSystemhas been replaced withNavigationSnapshot.configurationSnapshot.unitSystem.NavigationSnapshot.localehas been replaced withNavigationSnapshot.configurationSnapshot.language.NavigationSnapshot.hasArrivedhas been replaced withNavigationSnapshot.tripSnapshot.hasReachedDestination.NavigationSnapshot.projectedRouteshas been replaced withNavigationSnapshot.tripSnapshot.activeRoute.projectionandNavigationSnapshot.tripSnapshot.betterProposal.projection.NavigationSnapshot.activeRoutehas been removed fromNavigationSnapshotAPI level.
New Features
- Introduced new ConfigurationSnapshot API in Public Preview.
- Introduced new DrivingHistorySnapshot API in Public Preview.
- Introduced new LocationSnapshot API in Public Preview.
- Introduced new RouteSnapshot API in Public Preview.
- Introduced new TripSnapshot API in Public Preview.
Fixes
- Fix out-of-memory crash during navigation with long route.
Updates
NavigationTileStore.AreaAlongRouteis now available in General Availability.NavigationTileStore.CacheStorageConfigurationis now available in General Availability.TomTomSDKNavigation.DeviationReplanningModeis now available in General Availability.TomTomSDKNavigation.GuidanceUpdateObserveris now available in General Availability.TomTomSDKNavigation.TomTomNavigation.deviationReplanningModeis now available in General Availability.TomTomSDKNavigationEngines.BetterProposalAcceptanceModepromoted to GA.- Added collaboration tests for HorizonObservers.
- Replaced current NavigationSnapshot properties with locationSnapshot, historySnapshot, configurationSnapshot, vehicleSnapshot, tripSnapshot properties.
- The methods
TomTomSDKNavigation.TomTomNavigation/addGuidanceUpdateObserverandTomTomSDKNavigation.TomTomNavigation/removeGuidanceUpdateObserveris now available in General Availability. - The methods
TomTomSDKNavigation.TomTomNavigation/addLaneGuidanceUpdateObserverandTomTomSDKNavigation.TomTomNavigation/removeLaneGuidanceUpdateObserveris now available in General Availability. - Update the documentation for the methods in
TomTomSDKNavigation.TomTomNavigation.
Routing
Breaking changes
TomTomSDKRoutePlanner.RoutingOptionsErroris moved toTomTomSDKRoutingCommon.RoutingOptionsError. Replace usages ofTomTomSDKRoutePlanner.RoutingOptionsErrorwithTomTomSDKRoutingCommon.RoutingOptionsError.
Deprecations
- Deprecated
TomTomRoutePlanner.AnnouncementPoints.
Fixes
- Changed the condition for the storing the last announcement instruction.
- Not settin
alloworavoidvignettes on Orbis.
Updates
TomTomSDKRoutePlanner.RoutePlanner.planRouteis now available in General Availability.
Search
Updates
- Introduced a factory for OfflineSearch.
- Updated search URL configuration used under TomTom Orbis Map feature toggle.
Traffic
Breaking changes
- Removed functions and variables that should not be in the public interface:
TomTomSDKTrafficTPEG.TPEGTrafficService.notifyMapLoaded(),TomTomSDKTrafficTPEG.TPEGTrafficService.notifyMapUnloading(),TomTomSDKTrafficTPEG.TPEGTrafficService.onAuthorizationStatusChanged(isGranted:)TomTomSDKTrafficTPEG.TPEGTrafficService.onHeadingUpdate(newHeading:lastLocation:),TomTomSDKTrafficTPEG.TPEGTrafficService.onLocationUpdated(location:),TomTomSDKTrafficTPEG.TPEGTrafficService.onReadOnlyAccessGranted(mapChanged:),TomTomSDKTrafficTPEG.TPEGTrafficService.onReadOnlyAccessReleaseRequested(accessReleased:),TomTomSDKTrafficTPEG.TPEGTrafficService.onStoreAccessChangedObserverId.
Updates
- Introduced a provider agnostic traffic engine:
TomTomSDKTrafficEngine.