osmbonuspack icon indicating copy to clipboard operation
osmbonuspack copied to clipboard

OSRMRoadManager response (more data) and a small issue

Open moiatto opened this issue 1 year ago • 2 comments

I'm working on converting the response of OSRMRoadManager(Road) to MapLibre(DirectionsRoute). Everything works perfectly, but some data is missing.

Small mistake to correct RoadLeg.mLength return the value in Meter while in the description of the item it is in Km.

Instead regarding the additional response data, the Road class is a bit limited. It would be convenient and easy to make public the Json response.

moiatto avatar Jun 09 '23 18:06 moiatto

I didn't know the MapLibre initiative: sounds great! Bringing a free Android map lib supporting vector tiles is what I was dreaming for osmdroid for years. You have been able to use MapLibre AND OSMBonusPack in the same project, "as is"?

Thanks for the feedback about RoadLeg.mLength, I will fix that.

About "It would be convenient and easy to make public the Json response": Not enthousiastic. For instance, the response is not necessarily a Json (could be an XML).

MKergall avatar Jun 10 '23 07:06 MKergall

I didn't know the MapLibre initiative: sounds great! Bringing a free Android map lib supporting vector tiles is what I was dreaming for osmdroid for years. You have been able to use MapLibre AND OSMBonusPack in the same project, "as is"?

Let's say yes. I use your library for geocoding and routing service, Mapsforge VTM (vector tiles) for maps and Maplibre for navigation management.

Thanks for the feedback about RoadLeg.mLength, I will fix that.

Perfect

About "It would be convenient and easy to make public the Json response": Not enthousiastic. For instance, the response is not necessarily a Json (could be an XML).

For me is the same. Let me know

moiatto avatar Jun 10 '23 14:06 moiatto