v2.0.0#
2022-01-31
Added#
- New CitymapperDirectionsView provides
pre-made UI for turn-by-turn navigation on
walk, bike and scooter routes
Note: other types of routes are not yet supported in CitymapperDirectionsView - Transit Routes now provide "best boarding sections"
- The notification shown while navigating is now completely customizable. See Customizing notifications
Changed#
- ApiResult now provides more information about failures. E.g. when planning routes, it's possible to see whether a failure was due to a network connection issue, or because the given start and end were outside Citymapper's coverage area
- The
Instruction.type
andInstruction.typeDirection
fields now return values from an enum-like sealed class. Note that the possible values of these fields may still be refined in future
Fixed#
- Fixed "Turn Preview" guidance events being fired when no longer relevant in some circumstances
- Fixed "Depart" guidance events being fired when no longer relevant in some circumstances