Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
ISC License
Bot releases are visible (Hide)
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.
RouteOptions.includesVoiceInstructions
to RouteOptions. includesSpokenInstructions
Documentation is available online or within Xcode.
Route
, if the route did not include a locale
option, it would fail. #187Documentation is available online or within Xcode.
instructionsSpokenAlongStep
to RouteOptions
. This can be used for getting voice instructions for a RouteStep
#175locale
to RouteOptions
. This can be used for setting the language settings for instructions on a RouteStep
. #176Documentation is available online or within Xcode.
Published by 1ec5 about 7 years ago
Documentation is available online or within Xcode.
Published by 1ec5 about 7 years ago
RouteShapeFormat.polyline6
option for enhanced route line precision. (#167)RouteOptions.includeExitRoundaboutManeuver
option to get separate steps for entering and exiting each roundabout. (#168, #169)Documentation is available online or within Xcode.
Published by 1ec5 about 7 years ago
RouteShapeFormat.polyline6
option for enhanced route line precision. (#167)RouteOptions.includeExitRoundaboutManeuver
option to get separate steps for entering and exiting each roundabout. (#168, #169)Documentation is available online or within Xcode.