'Here map SDK for android voice catalog speaking in miles or feet's instead of meters
Does here SDK for android and ios provide voice speaking in feet's or miles instead of meters?
For example while navigation is running and the speaker says "In 100 meters you will arrive at your destination" I want instead of meters to say "In 100 feet's you will arrive at your destination"
Solution 1:[1]
I think what you are looking for is the Navigation manager's unit settings: https://developer.here.com/documentation/android-premium/content/api_reference_java/com/here/android/mpa/guidance/NavigationManager.UnitSystem.html#IMPERIAL
You need to do this: navigationManager.setDistanceUnit(NavigationManager.IMPERIAL);
Solution 2:[2]
It's a bit late but just leaving solution here for anyone else.
for Android:
navigationManager.setDistanceUnit(NavigationManager.UnitSystem.IMPERIAL_US);
For IOS
self.navigationManager.voicePackageMeasurementSystem = .imperialUS
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | David Leong |
Solution 2 | artonbej |