Reputation: 71
totally new to osmdroid and navigation world.
I just want to know, if a user enters the location name or post code ( the location where he wants to go to ) how I'm suppose to search it in the map ?
and another thing, if I already got the GeoPoint of the destination how I'm going to do the actual searching algorithm from my location to the destination ?
It would be really helpful if a sample code is provided.
Thanks for your time and help.
Upvotes: 1
Views: 2415
Reputation: 11027
I suggest having a look at OSMBonusPack
.
This library does exactly what you want. You can either choose to use it or to look at the sources to understand how to do such things. It is here: https://code.google.com/p/osmbonuspack/
Upvotes: 2