Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
ISC License
Bot releases are hidden (Show)
Published by 1ec5 almost 6 years ago
Directions.apiEndpoint
and Directions.accessToken
properties that reflect the values passed into the Directions
class’s initializers. (#313)Documentation is available online or within Xcode.
Published by frederoni almost 6 years ago
RouteOptions.response(from:)
which can be used for deserializing a response from an external source.Documentation is available online or within Xcode.
Published by akitchen about 6 years ago
DirectionsResult
now includes the API response as JSONDocumentation is available online or within Xcode.
Published by JThramer about 6 years ago
Waypoint.allowsArrivingOnOppositeSide
property for restricting the side of arrival. (#288)Documentation is available online or within Xcode.
Published by vincethecoder over 6 years ago
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
.polyline6
shape format. #281
MBAttributeOpenStreetMapNodeIdentifier
, as it is no longer being tracked by the API. This is a breaking change. #275
Documentation is available online or within Xcode.
Published by bsudekum over 6 years ago
VisualInstruction.degrees
to VisualInstruction.finalHeading
. https://github.com/mapbox/MapboxDirections.swift/pull/266
MBAttributeOpenStreetMapNodeIdentifier
. https://github.com/mapbox/MapboxDirections.swift/pull/272/
Waypoint
will now be exposed in VisualInstructionComponent
. https://github.com/mapbox/MapboxDirections.swift/pull/273
Documentation is available online or within Xcode.
Published by frederoni over 6 years ago
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.
Published by bsudekum over 6 years ago
.exit
and .exitCodes
to MBVisualInstructionType
. #252MBLane
public. #253Documentation is available online or within Xcode.
Published by bsudekum over 6 years ago
This release includes the ability to make a Mapbox Map Matching request.
CompletionHandler
has been renamed to RouteCompletionHandler
to give room for MatchCompletionHandler
.Match
. A Match
object defines a single route that was created from a series of points that were matched against a road network.MatchOptions
. A MatchOptions
object is a structure that specifies the criteria for results returned by the Mapbox Map Matching API.Directions.calculate(matchOptions:completionHandler:)
which returns a Match
.Directions.calculateRoutes(matching:completionHandler:)
. This is useful for creating a Route
from a map matching request.Documentation is available online or within Xcode.
VisualInstructionComponents
. #244VisualInstructionComponentType
. #243Documentation is available online or within Xcode.
ManeuverType
and ManeuverDirection
to VisualInstructionComponents
(https://github.com/mapbox/MapboxDirections.swift/pull/239)Documentation is available online or within Xcode.
Published by bsudekum over 6 years ago
RouteStep.drivingSide
is now safely unwrapped for cases where the value is missing from the response. (#233).tunnel
as a valid RoadClass
. (#237).speechLocale
to Route
for deciphering which Locale
to use for speaking voice instructions. (#235)Documentation is available online or within Xcode.
Published by bsudekum almost 7 years ago
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.
Published by JThramer almost 7 years ago
Documentation is available online or within Xcode.
drivingSide
to RouteStep
that indicates which side of the road cars and traffic flow. (#219)Waypoints
were having their names stripped from the response. (#218)SpokenInstruction
from private to open for easier testability. (#216)Documentation is available online or within Xcode.
Published by bsudekum almost 7 years ago
RouteOption.roadClassesToAvoid
property that avoids toll roads, motorways, or ferries. (#180)Directions.calculate(_:completionHandler:)
can be implicitly discarded. (#209)Documentation is available online or within Xcode.
Published by bsudekum almost 7 years ago
swift3.2
. #196Documentation is available online or within Xcode.
Published by 1ec5 almost 7 years ago
Route
objects archived prior to v0.12.0 from unarchiving. (#204)Documentation is available online or within Xcode.
Published by 1ec5 almost 7 years ago
RouteOptions.locale
property now defaults to the current system locale and is no longer optional in Swift or nullable in Objective-C. (#202)RouteOptions
class now conforms to the NSCopying
protocol. (#200)RouteOptions.distanceMeasurementSystem
property from round-tripping after the RouteOptions
object is encoded and decoded. (#200)RouteStep.expectedTravelTime
property’s accuracy. (#193)Documentation is available online or within Xcode.