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 hidden (Show)

mapbox-directions-swift - v0.25.1

Published by 1ec5 almost 6 years ago

Changes since v0.25.0:

  • Added the Directions.apiEndpoint and Directions.accessToken properties that reflect the values passed into the Directions class’s initializers. (#313)
  • Fixed an issue causing some requests with many waypoints or long waypoint names to fail. (#311)
  • Fixed an issue where some requests with very many waypoints would fail silently. (#314)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.25.0

Published by frederoni almost 6 years ago

  • Added Directions.fetchAvailableOfflineVersions(completionHandler:) for listing available offline versions. (#303)
  • Added Directions.downloadTiles(in:version:session:completionHandler:) for downloading a tile pack. (#303)
mapbox-directions-swift - v0.24.1

Published by frederoni almost 6 years ago

Changes since v0.24.0:

  • Added RouteOptions.response(from:) which can be used for deserializing a response from an external source.

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.24.0

Published by akitchen about 6 years ago

Changes since v0.23.0:

  • DirectionsResult now includes the API response as JSON

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.23.0

Published by JThramer about 6 years ago

Changes since v0.22.0:

  • Added Waypoint.allowsArrivingOnOppositeSide property for restricting the side of arrival. (#288)

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.22.0

Published by vincethecoder over 6 years ago

Changes since v0.21.0:

  • Added the VisualInstructionBanner.tertiaryInstruction property for additional information to display, such as a lane configuration or subsequent turn. Renamed the VisualInstruction.textComponents property to VisualInstruction.components. Some of the components may be LaneIndicationComponent objects, representing a lane at an intersection. #258
  • Fixed a bug which caused coordinates to be off by a factor of 10 when requesting .polyline6 shape format. #281
  • Removed MBAttributeOpenStreetMapNodeIdentifier, as it is no longer being tracked by the API. This is a breaking change. #275

Documentation is available online or within Xcode.

mapbox-directions-swift - v0.21.0

Published by bsudekum over 6 years ago

Changes since v0.20.0:

Documentation is available online or within Xcode.

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.

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