Transit Option not working in Google Maps

المشرف العام

Administrator
طاقم الإدارة
I have a requirement to create an application which would show public transport routes between a source and a destination which i acheived it successfully. But i found that the transit routes does not seem to work for most of the cities. It works for only a few places. For Eg: I selected source Mumbai and destination as Bangalore. I get the result as zero results found but in fact there are trains and buses between the routes. Is there any other alternate API that i can use? Any solution that can tackle this issue..Thanks in advance. Please find the below code i have used.

body { font-size: 0.8em;}#map-container, #side-container, #side-container li { float: left;}#map-container { width: 500px; height: 600px;}#side-container { border: 1px solid #bbb; margin-right: 5px; padding: 2px 4px; text-align: right; width: 260px;}#side-container ul { list-style-type: none; margin: 0; padding: 0;}#side-container li input { font-size: 0.85em; width: 210px;}#side-container .dir-label { font-weight: bold; padding-right: 3px; text-align: right; width: 40px;}#dir-container { height: 525px; overflow: auto; padding: 2px 4px 2px 0;}#dir-container table { font-size: 1em; width: 100%;}
  • From:

  • To:
By train Walking Imperial Metric





أكثر...
 
أعلى