MKergall / osmbonuspack

A third-party library of (very) useful additional objects for osmdroid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSRMRoadManager response (more data) and a small issue

moiatto opened this issue · 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.

commented

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).

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