Closed moiatto closed 1 year ago
The method exists, but there is currently the issue that the models have been deleted in the latest version upstream, so you have to use the older dependency, see #37 - we have to fix #37 in order to fix this here in this repo.
I'm using
DirectionsResponse.fromJson(String json)
to parse a GeoJson Directions Response, but theDirectionsRoute
are not provided withRouteOptions
and I can't use them for navigation.In MapBox i have seen the
DirectionsResponse.fromJson(String json, RouteOptions routeOptions)
which is missing in Maplibre.Is there an alternative way to add the RouteOptions ?