22.0¶
Links to the API Reference can be found here
22.0.0 (2023-04-27)¶
Bug Fixes¶
- Core: Correctly report HTTP errors from offline maps API and voice API
- Navigation: Fix default TTS voice usage at warning sounds
- Routing: Check avoid violations for whole countries
-
Search: Fix read address point data from map
The entry locations and original locations of search results have been switched. This has now been fixed.
Features¶
-
Android: Add method to set start audio delay
It is now possible to define a custom silent spot before all instructions. This might come in handy if the hardware has issues and cuts the first parts of instructions.
-
Android: Add new route warnings
New route warnings have been added. This replaces the removed
RouteViolatedOptions
. This means that after computing a route that violates any settings, you can get information about the violated parts. For example, if your route is starting on a toll road and you avoided toll roads, it is impossible to avoid it and this unavoidable part will be included in the route warnings. You can get these warnings usingroute?.getRouteWarnings()
. More here -
Android: JSON config for different storage for map folders
-
Core: Allow setting different paths for online, offline maps and application data
It is now possible to separate offline maps and online maps. Also app data can be moved into a separate folder. This is available in the JSON configuration settings.
-
iOS: Add new route warnings
New route warnings have been added. This replaces the removed
optionsViolation
. This means that after computing a route that violates any settings, you can get information about the violated parts. For example, if your route is starting on a toll road and you avoided toll roads, it is impossible to avoid it and this unavoidable part will be included in the route warnings. You can get these warnings usingroute.getWarningsWithCompletion(()
. -
iOS: Mark singletons as nullable (they can be nil if SDK not initialized)
-
Map: Implement new Incidents module
It is now possible to add your own incidents (such as speed cameras, police etc.) that will exist for the duration of the session. This might be useful if you have some source of such warnings and you want to import it so that the user sees them on map and gets warned when passing nearby.
-
Position: Allow set interpolation mode based on gps heading only
-
Routing: Add option to use preferred roads
It is now possible to choose between preferred roads for LHV/STAA/Bdouble/Btriple in the routing options.
-
Routing: Deprecate Insufficent remaining charge results
As the engine always computes the route, there is no need for this error anymore.
BREAKING CHANGES¶
- iOS: SYRoute optionsViolation is removed, use SYRoute getWarningsWithCompletion instead.
- Android: Removed Route.getRouteViolatedAvoidOptions method, use getRouteWarnings instead.
-
iOS: Singletons are nullable
From now on, all of the managers are nullable to prevent unnecessary crashes.
-
iOS and Android:
IncidentLink
andSYIncidentLink
have been removed. You can get the incident directly. Also,ProxyIncident
has been removed from Android. You can now get theMapIncident
as aViewObject
.