You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the RouteOptions contains a waypoint whose separatesLegs property is set to false, the resulting route’s legs have mismatching source and destination property values, as though the separatesLegs property were set to true.
The following code should pass DirectionsOptions.legSeparators into Array.populate(waypoints:), rather than passing in DirectionsOptions.waypoints:
1ec5
changed the title
Leg source and destination are mismatched when route contains silent waypoint
Leg source and destination are mismatched when route contains trackpoint or silent waypoint
Jun 28, 2021
When the RouteOptions contains a waypoint whose
separatesLegs
property is set tofalse
, the resulting route’s legs have mismatchingsource
anddestination
property values, as though theseparatesLegs
property were set totrue
.The following code should pass
DirectionsOptions.legSeparators
intoArray.populate(waypoints:)
, rather than passing inDirectionsOptions.waypoints
:mapbox-directions-swift/Sources/MapboxDirections/DirectionsResult.swift
Lines 44 to 45 in 2d9edce
This regression of #358 was introduced by #406.
/cc @mapbox/navigation-ios @ZiZasaurus
The text was updated successfully, but these errors were encountered: