Hello!
Thanks for this routing interface! Really useful stuff :)
I am not sure if I am not using the API properly but ot seems that only Geometries.geojson returns roads in the polyline attribute. The other (polyline and polyline6) always return null (in both getRoad and getTrip).
I had a quick look and it seems that in road.dart, the route["geometry"] variable is indeed empty for the polyline. I am unsure if it is intended or a change in the API, but since polyline is the default value, one would expect that it actually fills the polyline attribute.
If no easy fix can be find, I would suggest to use Geometries.geojson as default!
Hello!
Thanks for this routing interface! Really useful stuff :)
I am not sure if I am not using the API properly but ot seems that only
Geometries.geojsonreturns roads in thepolylineattribute. The other (polylineandpolyline6) always return null (in bothgetRoadandgetTrip).I had a quick look and it seems that in
road.dart, theroute["geometry"]variable is indeed empty for thepolyline. I am unsure if it is intended or a change in the API, but sincepolylineis the default value, one would expect that it actually fills the polyline attribute.If no easy fix can be find, I would suggest to use
Geometries.geojsonas default!