v3.0.0#
2022-01-31
Added#
- New CitymapperDirectionsViewController 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"
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
routeProgressDelegate
andguidanceEventDelegate
on CitymapperNavigationTracking have been deprecated. Use the newaddRouteProgressObserver()
andaddGuidanceEventObserver()
methods instead- The
Instruction.type
andInstruction.typeDirection
fields now return enums. Note that the possible values of these enums 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