6

I am implementing an application related to map activity.

Based on my requirements I am saving many lat long values in my db,
as follows:

id lat long 1 17.490431 78.407435 2 17.488221 78.409667 3 17.48249 78.414559 4 17.470292 78.426747

My requirement is to get all lat/long from the db and draw the route by using the lat/long.

If any one knows the solution please help me.

Toon Krijthe
  • 52,876
  • 38
  • 145
  • 202
kiran
  • 3,244
  • 7
  • 34
  • 57
  • You mean, by using those points you want to draw a root path by adding them... –  Sep 24 '12 at 06:22
  • ya by using those points,i want to draw root path – kiran Sep 24 '12 at 06:23
  • Then, you dont know how to draw a path between two geo points?? If you know that one, why cant you move to draw a path from point1 to point2 and point2 to point3... Any problem in this?? –  Sep 24 '12 at 06:28

1 Answers1

1

1st you have to know how to draw route between two Geo points.

Distance calculation from my location to destination location in android

Android - To draw a route between two geo points

https://stackoverflow.com/questions/10551034/how-to-draw-line-between-two-pointslatitude-and-longitude-in-google-map-in-and

Draw route by getting my point to destination point

drawing routes with the help of latitude and longitude values saved in database

Follow the link and surf net.there have many resource there.

Community
  • 1
  • 1
MBMJ
  • 5,323
  • 8
  • 32
  • 51