2

Possible Duplicate:
Android draw route on a Mapview with twoo POI-s

I draw route map between two areas using Google direction API, but I am thinking to draw train route between two stations in android. Can anyone help me?

Community
  • 1
  • 1
Phanikanth
  • 69
  • 2
  • 7
  • Here is a link from web.. Now I don't know how to get the kml file: http://www.google.com/maps?saddr=51.493480,+-0.168690&daddr=Streatham+High+Rd%2FA23&hl=en&ll=51.463098,-0.145569&spn=0.086735,0.222988&sll=51.474434,-0.144024&sspn=0.086713,0.222988&geocode=%3BFQrTEAMdTAv-_w&vpsrc=0&dirflg=rT&ttype=dep&date=12%2F14%2F11&time=7:00am&noexp=0&noal=0&sort=walk&mra=ls&t=m&z=13&start=0 – Waza_Be Dec 14 '11 at 06:07

2 Answers2

2

I guess you will be interested in Google TRANSIT and not google direction.

See this page and this too.

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
  • There is no Google Transit API. The spreadsheet linked here isn't an official Google project, it's a spreadsheet with made up data, which it says on the spreadsheet. The feed specification is useful for getting data from agency providers, but you would have to get that route data from the transit agency specifically. – Mano Marks Dec 15 '11 at 16:10
0

Google does not provide an official API for getting transit directions or to describe routes, you need to source the data from somewhere else.

Mano Marks
  • 8,761
  • 3
  • 27
  • 28