CityZenApp / AndroidApp

CityZen Android App, OpenStreetMap base-map
http://cityzenapp.co/
Mozilla Public License 2.0
76 stars 29 forks source link

Add different type of directions #10

Open diskmanti opened 7 years ago

diskmanti commented 7 years ago

When users search for directions give them the possibility to request directions by foot, car, bike ,etc..

jbelien commented 7 years ago

Which API do you use to calculate the direction ?

rskikuli commented 7 years ago

@diskmanti the library we are using to calculate the directions and guide uses only. As far as we know there is no floss library that gives directions for 'on foot' and 'bike' usage. @jbelien I think @valdio has used this one https://github.com/MKergall/osmbonuspack. Do you know if there is any library that can be used for the direction feature? That would really help.

jbelien commented 7 years ago

@rskikuli Ben Abelshausen ( @xivk ), one my co - OSMBE board member, developed an open-source library just for that : https://github.com/itinero/routing I saw it in action and it's really incredible. If you need it, I probably can put you in touch with him :)

xivk commented 7 years ago

I agree with @jbelien that mine is awesome! ;-) But it's only usable via Xamarin, at least not without some extra effort, so not really something you guys would be planning to I assume.

Also have a look at graphhopper by @karussell

jbelien commented 7 years ago

But it's only usable via Xamarin, at least not without some extra effort, so not really something you guys would be planning to I assume.

Oh damn ... That's too bad :(

Indeed GraphHopper seems to have an Android version : https://github.com/graphhopper/graphhopper/tree/master/android

diskmanti commented 7 years ago

I also used graphhopper for some web apps and I was happy with the results. Anyway if it is too much trouble to implement this feature than better concentrate on other things. It was more of a feature request than something critical to the app.

karussell commented 7 years ago

@xivk Thanks a bunch for the mention :+1: much appreciate also your hard work on itinero :) !

chilledfrogs commented 5 years ago

Hello there,

Just wanted to know how this is coming along, since for me I don't even have a car and I would really need (ideally turn-by-turn but not a must) directions on foot as well as on a bike... In any case, great job on your app, also looking forward to a dark theme 😅 (since it seems to be coming along at some point)