Minh Nguyễn

Results 1323 comments of Minh Nguyễn

Going back to the original post, I don’t think it should be necessary to create or modify a NavigationRouteOptions within the completion handler of `Directions.calculateRoutes(matching:completionHandler:)`. The `options` in the `response`...

> Since the option in response is a `ResponseOptions` and `MapboxNavigationService` wants `RouteOptions`. [ResponseOptions](https://github.com/mapbox/mapbox-directions-swift/blob/e40ab7cc922fbaecb0fa3b8d29b09a9df7b6d8c5/Sources/MapboxDirections/RouteResponse.swift#L6-L9) is an enumeration: if it happens to be a `route`, then a RouteOptions is associated with...

By the time you’re in the completion handler of `Directions.calculateRoutes(matching:completionHandler:)`, you basically want to pretend you were working with a NavigationRouteOptions all along. So pass that converted NavigationRouteOptions from https://github.com/mapbox/mapbox-directions-swift/issues/526#issuecomment-800722747...

> When assigning the route to navigation, I got back a lot of fake routes. Do you have any idea how they can be filtered out? These results look like...

> Here is the request URL in this case, interesting but doesn't generate the points for some reason into the URL, nor the settings. Why could that happen? The Map...

Look at the raw JSON-formatted response from that URL – not processed by the MapboxDirections library in Swift. If submatches is the issue, you’d see multiple items in the `matches`...

By design, MapboxDirections.swift doesn’t depend on the map SDK, though the [navigation SDK](https://github.com/mapbox/mapbox-navigation-ios/) does. If an application is already programmatically setting `MGLAccountManager.accessToken`, it can pass `MGLAccountManager.accessToken` (or the access token...

Fascinating, this code already tests [all the architectures supported by Swift 5.2](https://docs.swift.org/swift-book/ReferenceManual/Statements.html#ID539). Which operating system and device model (or simulator) are you running the library on?

How had you previously run Carthage?

The flags are no longer used after #214, correct? Can we safely delete 🇺🇸 and 🇩🇪 from osrm.toolbar.icons.svg?