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
According to the Map Matching API documentation, if a tracepoint is considered an outlier, it is represented in the response’s tracepoints array as a null. However, the following code assumes tracepoints is a homogeneous array of dictionaries with no nulls, so any outlier will result in a crash:
According to the Map Matching API documentation, if a tracepoint is considered an outlier, it is represented in the response’s
tracepoints
array as anull
. However, the following code assumestracepoints
is a homogeneous array of dictionaries with no nulls, so any outlier will result in a crash:https://github.com/mapbox/MapboxDirections.swift/blob/ccadf0af2c64036da07e7e5425c3d9ecdd560454/MapboxDirections/Match/MBMatchOptions.swift#L137
/cc @frederoni @JThramer
The text was updated successfully, but these errors were encountered: