osrm-text-instructions.swift icon indicating copy to clipboard operation
osrm-text-instructions.swift copied to clipboard

Turn ignored

Open wolfAle opened this issue 5 years ago • 0 comments

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

wolfAle avatar Jul 30 '19 12:07 wolfAle