v0.2.0#
2021-02-26
Feature & API Changes#
- Added ability to plan and navigate e-scooter directions, via
planScooterRoute()
inCitymapperDirections
DistanceUnits
now supports Imperial units—this can optionally be passed tocreateSpeechText()
to get spoken text using the specified unitsRouteProgress
now has anisArrived
property to determine if a user has reached their destination- iOS SDK now supports iOS 11.0 and up
Behavior Changes#
- Guidance event is now triggered earlier when arriving at a turn location
- Turn instructions that happen in close succession will now result in speech text of the form "[Instruction 1] and then [Instruction 2]"
- A "Rerouting" guidance event will now be triggered whenever the SDK logic replans the active
Route
Bugs Fixed#
- iOS - Fixed a bug where
remainingInstructions
onRouteProgress
object would duplicate the next instruction - Fixed a case where the initial guidance event would sometimes not be triggered
PathGeometrySegment
'stravelMode
is now properly populated to reflect sections where a rider must dismount and push the bike or scooter