Release Notes
Version 0.34.0 - 24/10/2023
General
Breaking changes
- From now on, use
com.tomtom.sdk.featuretoggle.TomTomOrbisMapFeature
instead ofcom.tomtom.sdk.featuretoggle.TomTomMapsPlatformFeature
, allowing you to toggle the TomTom Orbis Maps within your application. For additional details, please refer to this link. - The
com.tomtom.sdk.datamanagement.nds.update.CompletedMapOperation
is no longer a data class. - The
com.tomtom.sdk.datamanagement.nds.update.compositeregion.CompositeRegionChangedListener
has been renamed tocom.tomtom.sdk.datamanagement.nds.update.compositeregion.CompositeRegionListener
. - The
com.tomtom.sdk.datamanagement.nds.update.RegionGraphNodeState
is no longer a data class. - The
com.tomtom.sdk.datamanagement.nds.update.RegionsAroundPosition
is no longer a data class.
New Features
- NavigationTileStore: added persistent cache for downloaded NDS.Live tiles.
Fixes
- Resolved a MissingResourceException when trying to use online safety locations with the Horizon Engine.
Updates
- Promoted objects under
com.tomtom.sdk.datamanagement.locationdecoder
package to Public Preview. - Use Java's AutoCloseable explicitly.
Map
Fixes
- Fixed maneuver arrows.
Updates
- Stop map rendering in
onStop
rather then inonPause
. - Updated the POIVisualization modules to follow the naming convention for Poi.
Navigation
Breaking changes
NavigationOptions
is no longer a data class.RoutePlan
is no longer a data class.RouteTrackingEngine
now returns oneRouteTrackingState
instead of the list.RouteTrackingState
now contains a list of followed and unfollowed routes.RouteTrackingState
now contains thehasDeviated
property, which indicates whether the user has deviated from all of the routes.- All
Hazard
related classes are marked as Experimental. - Changed the type of
LocationContext.speed
fromcom.tomtom.quantity.Speed
? tocom.tomtom.quantity.Speed
. - Removed
com.tomtom.sdk.navigation.horizon.dataadapter.OpenLocationReference
class from public API. - Removed unneeded
toString()
,equals()
andhashCode()
fromHorionElementType
classes. - Rename
com.tomtom.sdk.navigation.DestinationReachedListener.onDestinationReached
(Route)to`com.tomtom.sdk.navigation.DestinationArrivalListener.onDestinationArrived
(Route)`. - Renamed
com.tomtom.sdk.navigation.DestinationReachedListener
tocom.tomtom.sdk.navigation.DestinationArrivalListener
. - Renamed
com.tomtom.sdk.navigation.horizon.HorizonSnapshotState.extensionCounter
tocom.tomtom.sdk.navigation.horizon.HorizonSnapshotState.updateCounter
. - Renamed
com.tomtom.sdk.navigation.TomTomNavigation.addDestinationReachedListener
(DestinationReachedListener)to`com.tomtom.sdk.navigation.TomTomNavigation.addDestinationArrivalListener
(DestinationArrivalListener)`. - Renamed
com.tomtom.sdk.navigation.TomTomNavigation.removeDestinationReachedListener
(DestinationReachedListener)to`com.tomtom.sdk.navigation.TomTomNavigation.removeDestinationArrivalListener
(DestinationArrivalListener)`. - Renamed horizon element
City
toCityElement
. - Renamed horizon element
CountryInformation
toCountryInformationElement
. - Renamed horizon element
DangerousGoodsRestriction
toDangerousGoodsRestrictionElement
. - Renamed horizon element
GeneralRoadProperties
toGeneralRoadPropertiesElement
. - Renamed horizon element
Hazard
toHazardElement
. - Renamed horizon element
PathGeometry
toPathGeometryElement
. - Renamed horizon element
Region
toRegionElement
. - Renamed horizon element
SafetyLocation
toSafetyLocationElement
. - Renamed horizon element
SpeedLimit
toSpeedLimitElement
. - Renamed horizon element
Street
toStreetElement
. - Renamed horizon element
TrafficSign
toTrafficSignElement
. - Renamed horizon element
VehicleRestriction
toVehicleRestrictionElement
. - Replaced
com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointReached
(RouteStop)with`com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointArrived
(RouteStop, Route)`. - Replaced
com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointVisited
(RouteStop)to`com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointDeparted
(RouteStop, Route)`.
New Features
- Added support for Bulgarian, Catalan, Slovak in spoken messages.
Fixes
- Fixed crash in traffic module due to missing method.
Updates
- Added back to road appearing check to repeat
instructionPhases
correctly. - Guidance triggering config updated.
- Improved
SynchronizedNavigationEngineRegistry
. - Improved inline documentation for
NavigationOptions
andRoutePlan
. - Merged map matching binding module with map matching common engine module.
Routing
Breaking changes
- Marked
com.tomtom.sdk.routing.online.common.model.description.VehicleEngineJsonModel
as internal. - Marked
com.tomtom.sdk.routing.online.common.model.description.VehicleLoadJsonModel
as internal. - Removed class
com.tomtom.sdk.routing.online.model.diagnostic.EffectiveSetting
. - Removed class
com.tomtom.sdk.routing.online.model.diagnostic.Report
. - Removed class
com.tomtom.sdk.routing.options.description.ReportType
.
Deprecations
- Deprecated
copy()
andcomponentN()
functions ofRouteLeg
class.
Fixes
- EV Routing supports only Car, Bus, Van, and Motorcycle vehicle types.
Updates
com.tomtom.sdk.routing.coroutines.flow.RoutingException
is now available in General Availability.com.tomtom.sdk.routing.options.guidance.RouteIncrementOptions
is now available in General Availability.com.tomtom.sdk.routing.route.ComputedAs
is now available in General Availability.com.tomtom.sdk.routing.route.PlanningReason
is now available in General Availability.com.tomtom.sdk.routing.route.RouteStop.SourceType
is now available in General Availability.com.tomtom.sdk.routing.route.RouteStop
is now available in General Availability.com.tomtom.sdk.routing.RoutePlanningResponse
is now available in General Availability.com.tomtom.sdk.routing.RoutingFailure.IncrementRouteContentsFailure
is now available in General Availability.com.tomtom.sdk.routing.RoutingFailure.InstructionGenerationFailure
is now available in General Availability.com.tomtom.sdk.routing.RoutingFailure.MapInaccessibleFailure
is now available in General Availability.- `com.tomtom.sdk.routing.RoutingFailure.MergeLaneSectionsFailure`is now available in General Availability.
com.tomtom.sdk.routing.RoutingFailure.RouteInstructionsFailure
is now available in General Availability.com.tomtom.sdk.routing.RoutingFailure.RouteReconstructionFailure
is now available in General Availability.- `com.tomtom.sdk.routing.RoutingFailure.RouteReplanningFailure`is now available in General Availability.
InstructionType
is now available in General Availability.RoutePlanner.planRouteAsFlow()
is now available in General Availability.- Clarified the documentation of the apiUri parameter.
- Converted
RouteLeg
data class to class. - Removed`RouteIncrementOptions` from Public Preview.
Search
New Features
- Support added for area personal locations in offline search.
Fixes
- Made additional data work with Orbis backend.
- Support added for coordinate search results in offline search response.
Updates
- Documented geopolitical view for offline and hybrid search.