osrm-text-instructions.swift
osrm-text-instructions.swift copied to clipboard
Turn ignored
Hi guys,
in OSRMInstructionFormatter I found this:
if type != .depart && type != .arrive && modifier == .none { return nil }
it looks like if the step's type is, for instance, .turn
the library doesn't return an attributed string that describes the step.
Can you enlighten me about the reasons behind this? :-)
In my use case it's important to explain the user the step-by-step instructions of the route it's gonna take.
Thanks, Alessandro