mapbox-directions-swift

Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux

ISC License

Stars
176
Committers
44

Bot releases are visible (Hide)

mapbox-directions-swift - v0.20.0

Published by frederoni over 6 years ago

Changes since v0.19.1:

  • Banner instructions object now includes a degrees field, corresponding to the location at which the user should exit a roundabout. #259

  • Also introduces a VisualInstructionBanner object which now contains the primary and secondary VisualInstruction objects. #259

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.19.1

Published by bsudekum over 6 years ago

Changes since v0.19.0:

  • Fixed an issue that caused a warning when using Swift 4.1. #254, #255
  • Added types .exit and .exitCodes to MBVisualInstructionType. #252
  • Made an initializer on MBLane public. #253

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.19.0

Published by bsudekum over 6 years ago

Changes since v0.18.0:

tl:dr

This release includes the ability to make a Mapbox Map Matching request.

Breaking changes

  • CompletionHandler has been renamed to RouteCompletionHandler to give room for MatchCompletionHandler.

Map Matching

  • Adds new class Match. A Match object defines a single route that was created from a series of points that were matched against a road network.
  • Adds new class MatchOptions. A MatchOptions object is a structure that specifies the criteria for results returned by the Mapbox Map Matching API.
  • Adds Directions.calculate(matchOptions:completionHandler:) which returns a Match.
  • Adds Directions.calculateRoutes(matching:completionHandler:). This is useful for creating a Route from a map matching request.

Documentation is available online or within Xcode.

mapbox-directions-swift -

Published by bsudekum over 6 years ago

Changes since v0.17.0:

  • Adds support for abbreviations to VisualInstructionComponents. #244
  • Adds new types to VisualInstructionComponentType. #243

Documentation is available online or within Xcode.

mapbox-directions-swift -

Published by bsudekum over 6 years ago

Changes since v0.16.1:

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.16.1

Published by bsudekum over 6 years ago

Changes since v0.16.0:

  • RouteStep.drivingSide is now safely unwrapped for cases where the value is missing from the response. (#233)
  • Added .tunnel as a valid RoadClass. (#237)
  • Added .speechLocale to Route for deciphering which Locale to use for speaking voice instructions. (#235)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.16.0

Published by bsudekum almost 7 years ago

Changes since v0.15.1:

  • The maneuverType, maneuverDirection, and transportType properties of RouteStep are now available in Objective-C code. The properties are no longer optional in Swift; check for ManeuverType.none ,ManeuverDirection.none, and TransportType.none instead of nil. (#227)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.15.1

Published by JThramer almost 7 years ago

Changes since v0.15.0:

  • API Response parser now handles API JSON response containing empty waypoint names correctly. (#222)

Documentation is available online or within Xcode.

mapbox-directions-swift -

Published by bsudekum almost 7 years ago

Changes since v0.14.0:

  • Added property drivingSide to RouteStep that indicates which side of the road cars and traffic flow. (#219)
  • Fixed a bug where named Waypoints were having their names stripped from the response. (#218)
  • Moved the class SpokenInstruction from private to open for easier testability. (#216)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.14.0

Published by bsudekum almost 7 years ago

Changes since v0.13.0:

  • Added a RouteOption.roadClassesToAvoid property that avoids toll roads, motorways, or ferries. (#180)
  • The return value of Directions.calculate(_:completionHandler:) can be implicitly discarded. (#209)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.13.0

Published by bsudekum almost 7 years ago

Changes since v0.12.1:

  • Upgrades the project to Swift 4. A final Swift 3.2 version is v0.12.1 and is also available on the branch swift3.2. #196

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.12.1

Published by 1ec5 almost 7 years ago

Changes since v0.12.0:

  • Fixed an issue preventing Route objects archived prior to v0.12.0 from unarchiving. (#204)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.12.0

Published by 1ec5 almost 7 years ago

Changes since v0.11.2:

  • The RouteOptions.locale property now defaults to the current system locale and is no longer optional in Swift or nullable in Objective-C. (#202)
  • The RouteOptions class now conforms to the NSCopying protocol. (#200)
  • Fixed an issue preventing the RouteOptions.distanceMeasurementSystem property from round-tripping after the RouteOptions object is encoded and decoded. (#200)
  • Clarified the factors that may affect the RouteStep.expectedTravelTime property’s accuracy. (#193)

Documentation is available online or within Xcode.

mapbox-directions-swift -

Published by bsudekum about 7 years ago

Changes since v0.11.1:

  • Changes RouteOptions.includesVoiceInstructions to RouteOptions. includesSpokenInstructions

Documentation is available online or within Xcode.

mapbox-directions-swift -

Published by bsudekum about 7 years ago

Changes since v0.11.0:

  • Fixes a bug when decoding a Route, if the route did not include a locale option, it would fail. #187

Documentation is available online or within Xcode.

mapbox-directions-swift -

Published by bsudekum about 7 years ago

Changes since v0.10.6:

  • Added instructionsSpokenAlongStep to RouteOptions. This can be used for getting voice instructions for a RouteStep #175
  • Added locale to RouteOptions. This can be used for setting the language settings for instructions on a RouteStep. #176

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.10.6

Published by 1ec5 about 7 years ago

Changes since v0.10.5:

  • Fixed build errors in Xcode 9. (#183)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.10.5

Published by 1ec5 about 7 years ago

Changes since v0.10.4:

  • Added RouteStep.phoneticNames and RouteStep.phoneticExitNames for providing speech synthesizers with accurate road name pronunciation data. (#174)
mapbox-directions-swift - v0.10.4

Published by 1ec5 about 7 years ago

Changes since v0.10.3:

  • Added a RouteShapeFormat.polyline6 option for enhanced route line precision. (#167)
  • Added a RouteOptions.includeExitRoundaboutManeuver option to get separate steps for entering and exiting each roundabout. (#168, #169)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.10.3

Published by 1ec5 about 7 years ago

Changes since v0.10.2:

  • Added a RouteShapeFormat.polyline6 option for enhanced route line precision. (#167)
  • Added a RouteOptions.includeExitRoundaboutManeuver option to get separate steps for entering and exiting each roundabout. (#168, #169)

Documentation is available online or within Xcode.

Package Rankings
Top 3.07% on Cocoapods.org
Top 9.12% on Swiftpackageindex.com
Top 23.17% on Carthage
Badges
Extracted from project README
CircleCI Carthage compatible CocoaPods SPM compatible codecov