Skip to content

Transform OSRM route responses into localized text instructions (Swift or Objective-C)

License

Notifications You must be signed in to change notification settings

JustasL/osrm-text-instructions.swift

 
 

Repository files navigation

OSRM Text Instructions for Swift

Build Status Carthage compatible CocoaPods

OSRM Text Instructions is a library for iOS, macOS, tvOS, and watchOS applications written in Swift 3 or Objective-C that transforms OSRM route responses into localized text instructions.

You can use OSRM Text Instructions in conjunction with MapboxDirections.swift and MapboxNavigation.swift to generate visual and voice guidance in a turn-by-turn navigation application.

OSRM Text Instructions for Swift is based on the canonical osrm-text-instructions library written in JavaScript. Both versions are translated at Transifex – please help us add support for the languages you speak.

Getting started

Specify the following dependency in your Carthage Cartfile:

github "Project-OSRM/osrm-text-instructions.swift" ~> 0.1

Or in your CocoaPods Podfile:

pod 'OSRMTextInstructions', '~> 0.1'

Then import OSRMTextInstructions or @import OSRMTextInstructions;.

About

Transform OSRM route responses into localized text instructions (Swift or Objective-C)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 81.1%
  • Ruby 13.8%
  • Shell 3.0%
  • Objective-C 2.1%