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 - v2.0.0-rc.2

Published by chezzdev about 3 years ago

Changes since v2.0.0-rc.1:

  • Fixed an issue where RouteLeg.segmentRangesByStep contained a range that was off by one for the arrival step of a leg. (#587)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-rc.1

Published by Udumft about 3 years ago

Changes since v2.0.0-beta.9:

  • Added option to snap Waypoints to closed parts of the roads. (#583)
  • Added numeric congestion annotation data support (#575)
  • Fixed appending service SKU token if it doesn't match the Access token (#588, #591)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.9

Published by bamx23 about 3 years ago

Changes since v2.0.0-beta.8:

  • Fixed an issue where sku_token wasn’t appended to refresh route requests. (#579)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.8

Published by azarovalex about 3 years ago

Changes since v2.0.0-beta.7:

  • This library requires Turf v2.0.0-rc.1. (#571)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.7

Published by jill-cardamon over 3 years ago

Changes since v2.0.0-beta.6:

  • Removed the DirectionsResult.routeIdentifier property. Use the RouteResponse.identifier property in conjunction with an index into the RouteResponse.routes array instead. (#562)
  • Fixed a bug where leg source and destination are mismatched when route contains trackpoint or silent waypoint. (#560)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.6

Published by 1ec5 over 3 years ago

Changes since v2.0.0-beta.5:

  • RouteOptions.alleyPriority, RouteOptions.walkwayPriority, and RouteOptions.speed are now optional. Set them explicitly if you want to include them in the HTTP request. Renamed DirectionsOptions.default to DirectionsOptions.medium. (#557)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.5

Published by S2Ler over 3 years ago

Changes since v2.0.0-beta.4:

  • Carthage v0.38 or above is now required for installing this SDK if you use Carthage. #548
  • Xcode 12.0 or above is now required to build MapboxDirections from source. #548
  • You can fully build this SDK on Macs with Apple Silicon. #548

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.4

Published by chezzdev over 3 years ago

Changes since v2.0.0-beta.3:

  • This library requires Turf v2.0.0-beta.1. (#545)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.3

Published by jill-cardamon over 3 years ago

Changes since v2.0.0-beta.2:

  • Preferred lane direction is now of type ManeuverDirection. (#535)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.2

Published by 1ec5 over 3 years ago

Changes since v2.0.0-beta.1:

  • Fixed an issue where VisualInstruction.component.lane(indications:isUsable:preferredDirection:) failed to decode and encoded incorrectly. (#532)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-beta.1

Published by 1ec5 over 3 years ago

Changes since v2.0.0-alpha.2:

  • Added the Intersection.preferredApproachLanes and Intersection.usableLaneIndication properties that indicate preferred lane usage. VisualInstruction.Component.lane(indications:isUsable:) has been renamed to VisualInstruction.Component.lane(indications:isUsable:preferredDirection:). (#529)
  • Comparing two Intersections with == now considers whether the Intersection.restStop, Intersection.regionCode, and Intersection.outletMapboxStreetsRoadClass properties are equal. (#529)

Documentation is available online or within Xcode.

mapbox-directions-swift - v2.0.0-alpha.2

Published by MaximAlien over 3 years ago

Changes since v2.0.0-alpha.1:

  • This library requires Turf v2.0.0-alpha.3. tvOS, watchOS, and Linux support was restored. (#525)
  • MBXAccessToken is now used as default access token, in case if it's not found in Info.plist MGLMapboxAccessToken will be used. (#522)
mapbox-directions-swift - v2.0.0-alpha.1

Published by 1ec5 over 3 years ago

Changes since v1.2.0:

  • This library requires Turf v2.0.0-alpha.2. (#517)
  • This library does not support tvOS, watchOS, or Linux. Support for these platforms will be restored before the final release. (#517)
  • The Incident.impact property is now an Incident.Impact value instead of a string. (#519)

Documentation is available online or within Xcode.

mapbox-directions-swift - v1.2.0

Published by 1ec5 over 3 years ago

Changes since v1.1.0:

Packaging

  • Added support for building and running on any Linux distribution supported by Swift. (#488)
  • Added the MapboxDirectionsCLI command line tool that round-trips Mapbox Directions API responses between JSON format and Swift model objects. (#469)

Other changes

  • Added the RouteStep.segmentIndicesByIntersection property for associating Intersections with portions of the step’s shape. (#490)
  • Added the Intersection.outletMapboxStreetsRoadClass property that indicates a more detailed road classification than the existing Intersection.outletRoadClasses property. (#507)
  • Added the RouteLeg.incidents property that indicates known traffic incidents, toll collection points, rest areas, and border crossings along the route leg. (#466, #506)
  • Added the RouteLeg.regionCode(atStepIndex:intersectionIndex:) method and Intersection.regionCode property to get the administrative region where an intersection is located, as well as a RouteLeg.administrativeRegions property that indicates the administrative regions traversed by the route leg. (#466, #485, #506)
  • Added the Intersection.tunnelName, Intersection.tollCollection, Intersection.restStop, and Intersection.isUrban properties. (#466, #506)
  • The CongestionLevel enumeration now conforms to the CaseIterable protocol. (#500)

Documentation is available online or within Xcode.

mapbox-directions-swift - v1.2.0-rc.1

Published by 1ec5 almost 4 years ago

Changes since v1.2.0-alpha.3:

  • Fixed an issue where JSONEncoder did not encode the Intersection.tollCollection property. (#510)

Documentation is available online or within Xcode.

mapbox-directions-swift - v1.2.0-alpha.3

Published by 1ec5 almost 4 years ago

Changes since v1.2.0-alpha.2:

  • Added the Intersection.outletMapboxStreetsRoadClass property that indicates a more detailed road classification than the existing Intersection.outletRoadClasses property. (#507)
  • Added the RouteLeg.incidents property that indicates known traffic incidents, toll collection points, rest areas, and border crossings along the route leg. (#466, #506)
  • Added the RouteLeg.administrativeRegions property that indicates the administrative regions traversed by the route leg. (#466, #506)
  • Added the Intersection.tunnelName, Intersection.tollCollection, Intersection.restStop, and Intersection.isUrban properties. (#466, #506)

Documentation is available online or within Xcode.

mapbox-directions-swift - v1.2.0-alpha.2

Published by Udumft almost 4 years ago

Changes since v1.2.0-alpha.1:

  • The CongestionLevel enumeration now conforms to the CaseIterable protocol. (#500)
  • Refined encoding/decoding logic for AdministrativeRegions by Leg and Intersection (#485). Added few properties for convenience access:
    • Intersection.regionCode - A 2-letter region code to identify corresponding country that this intersection lies in.
    • RouteLeg.regionCode(atStepIndex:, intersectionIndex:) - Returns the ISO 3166-1 alpha-2 region code for the administrative region through which the given intersection passes.
  • Added RouteStep.segmentIndicesByIntersection for navigating Intersections segments along the step; (#490)
mapbox-directions-swift - v1.2.0-alpha.1

Published by chezzdev almost 4 years ago

Changes since v1.1.0:

  • Added support for building and running on any Linux distribution supported by Swift. (#488)
  • Added the MapboxDirectionsCLI command line tool that round-trips Mapbox Directions API responses between JSON format and Swift model objects. (#469)
mapbox-directions-swift - v1.1.0

Published by 1ec5 almost 4 years ago

Changes since v1.0.0:

  • Added the DirectionsResult.typicalTravelTime, RouteLeg.typicalTravelTime and RouteStep.typicalTravelTime properties that indicate the typical travel time, as opposed to the current expected travel time. (#462)
  • Fixed an error that occurred when setting the Waypoint.separatesLegs property to true and setting the Waypoint.targetCoordinate property. (#480)
  • Directions.fetchAvailableOfflineVersions(completionHandler:) now calls its completion handler on the main queue consistently. (#475)
  • Upgraded to Polyline v5.0.0. (#487)

Documentation is available online or within Xcode.

mapbox-directions-swift - v1.1.0-rc.1

Published by 1ec5 almost 4 years ago

Changes since v1.0.0:

  • Added the DirectionsResult.typicalTravelTime, RouteLeg.typicalTravelTime and RouteStep.typicalTravelTime properties that indicate the typical travel time, as opposed to the current expected travel time. (#462)
  • Fixed an error that occurred when setting the Waypoint.separatesLegs property to true and setting the Waypoint.targetCoordinate property. (#480)
  • Directions.fetchAvailableOfflineVersions(completionHandler:) now calls its completion handler on the main queue consistently. (#475)
  • Upgraded to Polyline v5.0.0. (#487)
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