Release Notes
version 0.45.7 - 30/04/2024
Navigation
Fixes
- Do not pass supporting points on language change.
version 0.45.5 - 01/03/2024
Navigation
Fixes
- Fixed the rotation of the current car's position when the car is stopped.
version 0.45.4 - 26/02/2024
Navigation
Fixes
- Fixed MapMatchingEngine reporting wrong matches.
version 0.45.3 - 21/02/2024
General
Fixes
- Fixed a memory leak when downloading a map.
Version 0.45.2 - 01/02/2024
General
Fixes
- Updated routing default endpoint, which was incorrectly set in Guidance v2 making route calculations impossible for some customers.
Version 0.45.0 - 22/01/2024
General
Breaking changes
com.tomtom.sdk.datamanagement.nds.update.compositeregion.CompositeRegion
. andcom.tomtom.sdk.datamanagement.nds.update.RegionGraphNode
children
properties can be nullable instead of empty by default.- Marked
Archive
,Message
, andTransport Telemetry
interfaces as internal. - Renamed
com.tomtom.sdk.datamanagement.nds.update.UpdateInfo.totalDownloadSizeInBytes
tocom.tomtom.sdk.datamanagement.nds.update.UpdateInfo.totalDownloadSize
. Changed thecom.tomtom.sdk.datamanagement.nds.update.UpdateInfo.totalDownloadSize
type fromLong
tocom.tomtom.quantity.Memory
.
- Marked
Known issues
An incorrect routing endpoint is set by default in Guidance v2, making route calculations impossible with version 0.45.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.46.0 or later.
Map
Breaking changes
- Added the
destinationConnectionLineStyle
parameter to navigationStyleConfiguration
.
New features
- Added Geojson support for range visualization.
- Added support for visualization of the reachable distance in maps SDK and using that in the routing visualization module.
Updates
- Hybrid offline first data provider now correctly translates zoom level to NDS level of details.
Navigation
Breaking changes
com.tomtom.sdk.datamanagement.hybridnavigationdata.HybridNavigationDataStore
no longer implementsjava.lang.AutoCloseable
.com.tomtom.sdk.datamanagement.hybridnavigationdata.HybridNavigationDataStoreAccess
no longer implementsjava.lang.AutoCloseable
- An exception is now thrown when an empty list is provided for
remainingRouteStopsProgress
fromcom.tomtom.sdk.navigation.progress.RouteProgress
ctor. - Made
com.tomtom.sdk.navigation.NavigationSnapshot
a non-data class. - Made
com.tomtom.sdk.navigation.NavigationSnapshot
constructor SDK internal. - Made
remainingRouteStopsProgress
fromcom.tomtom.sdk.navigation.progress.RouteProgress
ctor non-optional. - Migrated
com.tomtom.sdk.navigation.RouteSnapshot
andcom.tomtom.sdk.navigation.TripSnapshot
from data class to class. - Removed
com.tomtom.sdk.map.display.visualization.navigation.NavigationEventDispatcher.dispatchOnNavigationStarted
API. Instead of it, usecom.tomtom.sdk.map.display.visualization.navigation.NavigationEventDispatcher.dispatchOnNavigationStateChanged
to listen for the following navigation mode changes:- Idle
- FreeDriving
- ActiveGuidance
- Removed
com.tomtom.sdk.navigation.ActiveRoute
. - Removed
com.tomtom.sdk.navigation.NavigatedRoutes
. - Removed
com.tomtom.sdk.navigation.NavigationStartedListener
andaddNavigationStartedListener
andremoveNavigationStartedListener
methods fromcom.tomtom.sdk.navigation.TomTomNavigation
Interface. Instead of it, usecom.tomtom.sdk.navigation.NavigationStateChangedListener
to listen for the following navigation mode changes:- Idle
- FreeDriving
- ActiveGuidance
- Removed
isFollowed
fromcom.tomtom.sdk.navigation.RouteSnapshot
. - Removed
remainingTime
andremainingDistance
fromcom.tomtom.sdk.navigation.progress.RouteProgress
ctor. - Renamed
com.tomtom.sdk.datamanagement.nds.NdsStoreConfiguration
property toaccessPermit
. - Simple construction of
OnlineTomTomNavigation
configuration now requiresNavigationTileStore
instead of anapiKey
.
Fixes
- Closing injected
HorizonDataAdapters
when theDefaultHorizonEngine
is closed. - Fixed
AlternativeRoutesOptions
for deviation replanning so it does not setalternativeType
when maxAlternatives=0. - Fixed route replanning after deviation so it does not follow all remaining points from the original route.
- Fixed stuck lane guidance panel after rerouting.
Updates
com.tomtom.sdk.datamanagement.nds.NdsStore
was improved before moving to GA.com.tomtom.sdk.navigation.guidance.AnnouncementMode
,com.tomtom.sdk.navigation.guidance.LaneGuidanceUpdate
,com.tomtom.sdk.navigation.guidance.LaneGuidanceUpdateType
andcom.tomtom.sdk.navigation.guidance.GuidanceEngineOptions
are demoted to Public Preview.com.tomtom.sdk.navigation.TomTomNavigation.addLocationMapMatchedListener
,com.tomtom.sdk.navigation.TomTomNavigation.removeLocationMapMatchedListener
andcom.tomtom.sdk.navigation.LocationMapMatchedListener
are now available in General Availability.com.tomtom.sdk.navigation.TomTomNavigation.vehicleProvider
is now available in General Availability.- Added
addNavigationStateChangedListener
andremoveNavigationStateChangedListener
APIs to thecom.tomtom.sdk.navigation.TomTomNavigation
interface. - Added
com.tomtom.sdk.navigation.NavigationState
. - Added
com.tomtom.sdk.navigation.NavigationStateChangedListener
. - Added missing documentation to the
com.tomtom.sdk.navigation.NavigationStateChangedListener
andcom.tomtom.sdk.navigation.NavigationState
API. - Added missing documentation to the
TomTomSDKNavigation.start()
,TomTomSDKNavigation.stop()
,TomTomSDKNavigation.resume()
andTomTomSDKNavigation.setActiveRoute()
API. - Moved
com.tomtom.sdk.datamanagement.nds.NdsStoreAccessPermit
to General Availability. - Moved
com.tomtom.sdk.datamanagement.nds.NdsStoreConfiguration
to General Availability. - Updated documentation in
com.tomtom.sdk.navigation.RouteSnapshot
andcom.tomtom.sdk.navigation.TripSnapshot
. - Using
add/remove
terms instead ofregister/unregister
in the documentation. - Using production endpoint as default for navigation tiles base URL if NdsLive is enabled.
Routing
Breaking changes
- Changed function:
com.tomtom.sdk.routing.range.online.OnlineRangeCalculator.calculateRange(RangeCalculationOptions,Callback<rangecalculationresult,rangecalculationfailure>):Cancellable
tocom.tomtom.sdk.routing.range.online.OnlineRangeCalculator.calculateRange(RangeCalculationOptions,Callback<range,routingfailure>):Cancellable
. - Changed function:
com.tomtom.sdk.routing.range.online.OnlineRangeCalculator.calculateRange(RangeCalculationOptions):Result<rangecalculationresult,rangecalculationfailure>
tocom.tomtom.sdk.routing.range.online.OnlineRangeCalculator.calculateRange(RangeCalculationOptions):Result<range,routingfailure>
. - Changed function:
com.tomtom.sdk.routing.range.RangeCalculator.calculateRange(RangeCalculationOptions,Callback<rangecalculationresult,rangecalculationfailure>):Cancellable
tocom.tomtom.sdk.routing.range.RangeCalculator.calculateRange(RangeCalculationOptions,Callback<range,routingfailure>):Cancellable
. - Changed function:
com.tomtom.sdk.routing.range.RangeCalculator.calculateRange(RangeCalculationOptions):Result<rangecalculationresult,rangecalculationfailure>
tocom.tomtom.sdk.routing.range.RangeCalculator.calculateRange(RangeCalculationOptions):Result<range, routingfailure="">
. - Extend the GA constructor of
Sections
and removed theInternalTomTomSdkApi
constructor. - Moved Public Preview constructor of
Sections
to InternalTomTomSdkApi. - Removed
com.tomtom.sdk.routing.range.RangeCalculationFailure
class. - Removed
com.tomtom.sdk.routing.range.RangeCalculationResult
class.
Updates
com.tomtom.sdk.routing.route.section.toll.TollSection
is now available in General Availability.- Interface
com.tomtom.sdk.routing.range.RangeCalculator
is now available in General Availability.
Search
Fixes
- Now correctly parsing opening hours from the onboard search library when the POI is open for the whole day, yet the 24-hour flag is not set.
- Renaming query parameter
geoBias
togeobias
as the former is not supported.