efabulousf / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

Need an example #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Hi, Could you please give a tutorial or an example about point to point routing 
application? (For example between two points (A and B) whose coordinates are 
given). And which services do you supported, for example do you support Open 
Route Service? Thank you for your interest. 

What version of the product are you using? On what operating system?
Osmdroid 3.0.5, eclipse platform

Please provide any additional information below.

Original issue reported on code.google.com by hzse...@gmail.com on 12 Jun 2012 at 5:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Browse in the source code and look at: trunk/OSMBonusPackDemo, this is a sample 
app that provides a complete tutorial on how to use the lib. 

Routing services supported are mentionned in the wiki: MapQuest Open API and 
OSRM currently. Open Route Service is not supported yet. If somebody wants to 
add it, this will be welcomed... 

Original comment by mathieu....@gmail.com on 12 Jun 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Thank you for your answer. OSMBonusPackDemo helped me alot. I can calculate the 
routes. The second request, I want to use pedestrian route, I know MapQuest 
supports pedestian route, how can I calculate pedestrian route with this 
package? Thank you for your interest again.

Original comment by hzse...@gmail.com on 13 Jun 2012 at 1:58

GoogleCodeExporter commented 9 years ago
Look at RoadManager.addRequestOption() to add all request options you want, as 
long as they are supported by the service provider. 
In your case: roadManager.addRequestOption("routeType=pedestrian") should work. 

Original comment by mathieu....@gmail.com on 13 Jun 2012 at 9:15

GoogleCodeExporter commented 9 years ago
Thank you for your support. I can calculate pedestrian route on emulator now 
(figure1).But when I test my application on my mobile phone (HC Desire S), 
route is passing only start and destination point (see problem1.jpg). what is 
your opinion,what the problem is. Thank you for your interest again.

Original comment by hzse...@gmail.com on 20 Jun 2012 at 5:59

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, is there any idea, did you test this application on any android mobile 
device? (my mobile device is HTC Desire S) Is there any limitation or any 
setting for mobile device? Thank you for your interest.

Original comment by hzse...@gmail.com on 22 Jun 2012 at 6:57

GoogleCodeExporter commented 9 years ago
Second subject sorted out in Issue #2. 

Original comment by mathieu....@gmail.com on 2 Jul 2012 at 5:01