Google Maps API to get bus route

The only real option for getting bus route information from the Google Maps API v3 is to use the directions service with the mode set to TRANSIT. Whether it returns data or not will depend on what city you are looking for that information in.

Example transit route

The “manual” option is to use the directions service to get directions [with mode DRIVING] between the actual stops on the route, your current list isn’t detailed enough to do that, but if you have the coordinates of the stops, it can be done (or you can attempt to capture a route using draggable directions).

Example using multiple directions requests

Leave a Comment