Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
ISC License
Bot releases are hidden (Show)
Published by MaximAlien almost 2 years ago
No public changes since v2.8.0.
Documentation is available online or within Xcode.
Published by MaximAlien almost 2 years ago
Documentation is available online or within Xcode.
Published by MaximAlien almost 2 years ago
Documentation is available online or within Xcode.
Published by chezzdev almost 2 years ago
Waypoint.layer
property, which can ensure that the route begins on the correct road if it is above or below another road. (#745)AttributeOptions.update(customOption:comparisonPolicy:)
method and AttributeOptions.customOptionsByRawValue
property for specifying attribute options that are still marked as beta in the Mapbox Directions API. (#748)Incident.shapeIndexRange
values even after calling the RouteRefreshResponse.refreshLegIncidents(from:legIndex:legShapeIndex:)
method. (#752)RouteLeg.closures
property containing information about road closures based on live traffic conditions. This information requires adding AttributeOptions.closures
to the RouteOptions.attributeOptions
property and setting the DirectionsOptions.profileIdentifier
property to ProfileIdentifier.automobileAvoidingTraffic
. (#755)Route.refresh(from:refreshParameters:)
method as a single entry point for refreshing various parameters of the Route
object. (#755)Documentation is available online or within Xcode.
Published by ShanMa1991 almost 2 years ago
No public changes since v2.8.0-rc.1
Documentation is available online or within Xcode.
Published by Udumft almost 2 years ago
Changes since v2.8.0-beta.3:
CONTRIBUTING.md
section about publishing doc set via CircleCI during new version release.Documentation is available online or within Xcode.
Published by 1ec5 almost 2 years ago
Changes since v2.8.0-beta.2:
RouteLeg.closures
property containing information about road closures based on live traffic conditions. This information requires adding AttributeOptions.closures
to the RouteOptions.attributeOptions
property and setting the DirectionsOptions.profileIdentifier
property to ProfileIdentifier.automobileAvoidingTraffic
. (#755)Route.refresh(from:refreshParameters:)
method as a single entry point for refreshing various parameters of the Route
object. (#755)Documentation is available online or within Xcode.
Published by MaximAlien almost 2 years ago
No public changes since v2.8.0-beta.1.
Documentation is available online or within Xcode.
Published by jill-cardamon about 2 years ago
Changes since v2.8.0-alpha.2:
AttributeOptions
to allow user options with custom values. See AttributeOptions.customOptionsByRawValue
for reference. (#748)RouteLeg.incidents
after route refresh. (#752)Documentation is available online or within Xcode.
Published by chezzdev about 2 years ago
Changes since v2.8.0-alpha.1:
Waypoint.layer
property, which can ensure that the route begins on the correct road if it is above or below another road. (#745)Documentation is available online or within Xcode.
Published by chezzdev about 2 years ago
--config
option. Instead, pass in either the path to a JSON configuration file or the full URL to a Mapbox Directions API or Mapbox Map Matching API request. (#726)MAPBOX_ACCESS_TOKEN
environment variable is unset, the tool exits with an error code instead of crashing. (#728)MAPBOX_HOST
environment variable, if specified. (#728)Waypoint.allowsSnappingToStaticallyClosedRoad
property to allow snapping the waypoint’s location to a statically (long-term) closed part of a road. (#721)RouteOptions(url:)
now returns nil
if given a Mapbox Map Matching API request URL, and MatchOptions(url:)
returns nil
if given a Mapbox Directions API request URL. (#728)Directions.refreshRoute(responseIdentifier:routeIndex:fromLegAtIndex:currentRouteShapeIndex:completionHandler:)
method, which takes the index into the route geometry at which to begin refreshing, as well as corresponding Directions.urlRequest(forRefreshing responseIdentifier:routeIndex:fromLegAtIndex:currentRouteShapeIndex:)
, RouteRefreshResponse.refreshLegAttributes(from:legIndex:legShapeIndex:)
, and RouteRefreshResponse.refreshLegIncidents(from:legIndex:legShapeIndex:)
methods. (#733)Documentation is available online or within Xcode.
Published by S2Ler about 2 years ago
Changes since v2.7.0-rc.2:
Documentation is available online or within Xcode.
Published by S2Ler about 2 years ago
Changes since v2.7.0-rc.1:
Directions.refreshRoute(responseIdentifier:routeIndex:fromLegAtIndex:currentRouteShapeIndex:completionHandler:)
method, which takes the index into the route geometry at which to begin refreshing, as well as corresponding Directions.urlRequest(forRefreshing responseIdentifier:routeIndex:fromLegAtIndex:currentRouteShapeIndex:)
, RouteRefreshResponse.refreshLegAttributes(from:legIndex:legShapeIndex:)
, and RouteRefreshResponse.refreshLegIncidents(from:legIndex:legShapeIndex:)
methods. (#733)Documentation is available online or within Xcode.
Published by ShanMa1991 about 2 years ago
Changes since v2.7.0-beta.1:
--config
option. Instead, pass in either the path to a JSON configuration file or the full URL to a Mapbox Directions API or Mapbox Map Matching API request. (#726)MAPBOX_ACCESS_TOKEN
environment variable is unset, the tool exits with an error code instead of crashing. (#728)MAPBOX_HOST
environment variable, if specified. (#728)RouteOptions(url:)
now returns nil
if given a Mapbox Map Matching API request URL, and MatchOptions(url:)
returns nil
if given a Mapbox Directions API request URL. (#728)Documentation is available online or within Xcode.
Published by jill-cardamon about 2 years ago
Waypoint.allowsSnappingToStaticallyClosedRoad
property to allow snapping the waypoint’s location to a statically (long-term) closed part of a road. (#721)Documentation is available online or within Xcode.
Published by MaximAlien over 2 years ago
RouteOptions.maximumWeight
property to compute routes that excludes roads with a lower weight limit. (#694)Route.refreshLegIncidents(from:)
method to allow refreshing RouteLeg.incidents
during a route refresh. (#704)Intersection.railroadCrossing
, Intersection.trafficSignal
, Intersection.stopSign
and Intersection.yieldSign
properties to indicate the kind of traffic control devices at an intersection along the route. (#706)Documentation is available online or within Xcode.
Published by jill-cardamon over 2 years ago
No public changes since v2.6.0-beta.2.
Documentation is available online or within Xcode.
Published by S2Ler over 2 years ago
Changes since v2.6.0-beta.1:
Intersection.railroadCrossing
, Intersection.trafficSignal
, Intersection.stopSign
and Intersection.yieldSign
properties to indicate the kind of traffic control devices at an intersection along the route. #706Documentation is available online or within Xcode.
Published by chezzdev over 2 years ago
MapboxDirections
now requires Turf v2.4. (#703)RouteOptions.maximumWeight
property to compute routes that excludes roads with a lower weight limit. (#694)Route.refreshLegIncidents(from:)
method to allow refreshing RouteLeg.incidents
during a route refresh. (#704)Documentation is available online or within Xcode.
Published by ShanMa1991 over 2 years ago
RestStop.name
property. (#689)TollCollection.name
property. (#691)RouteResponse
, RouteRefreshResponse
, MatchResponse
, and RouteStep
, now conform to the ForeignMemberContainer
and ForeignMemberClassContainer
protocols. Types that conform to these protocols can persist unrecognized properties in the response, such as properties that are in beta, even after coding and decoding. You can access these properties using the ForeignMemberContainer.foreignMembers
and ForeignMemberClassContainer.foreignMembers
properties. (#669)RouteStep.distance
, RouteStep.expectedTravelTime
and RouteStep.typicalTravelTime
were rounded to one decimal place when being encoded. (#697)RouteResponse
incorrectly set the Waypoint.snappedDistance
property to nil
. (#669)mapbox-directions-swift
command line tool now requests routes from the Mapbox Directions API if no input file is specified. (#576)Documentation is available online or within Xcode.