0

I am using following example source code but I can't get long distance route in map. It only works for small distance on map. Is there are any limitation to access map?

If some one has better idea please help.

animuson
  • 53,861
  • 28
  • 137
  • 147
loks
  • 490
  • 3
  • 10

3 Answers3

0

Here is a complete source code at https://github.com/frogermcs/RoutePathExample for how to draw path between two geolocation. I use this code without any trouble at all. You should check it

Murat Nafiz
  • 1,438
  • 17
  • 28
0

Make use of this secret Google API and Android Map API to show the distance between two points.

Jana
  • 2,890
  • 5
  • 35
  • 45
  • thanks for replay but can you guide how to use your given secret Google API with Android map API , mainly i want to show route between two point as well also want to show some other nearby point with this route. But following code(My one ) not useful in long distance location. – loks Jan 09 '12 at 09:11
  • this is the same code i am using it's not work properly for long distance like between Delhi to Mumbai :( – loks Jan 09 '12 at 09:51
0

I am using this code and it is working fine, even if I put two points in two different countries. I believe you are not implementing it in the right way, because this code is retrieving the KML provided by Google for the two points you choose, which always returns a route unless the two points are in different continents and there is no route for going by car.

I suggest you show us how did you use the code in your app.

Hesham Saeed
  • 5,358
  • 7
  • 37
  • 57