Tag Archives: bus directions

Add Google Maps Public Transport directions to Your Event/Website

Here’s the three steps to add Google Maps Public Transport directions to your website.

1. Check if Google Maps has Public Transport directions for your location

Click on the following link to find out if Google Maps has public transport information for your event’s location:

https://maps.google.com/landing/transit/cities/ 

If Google has public transport for your event’s location.. Great!!  Then go to the Example (step 2) below.

If they don’t have public transport for your event’s location. It might be because your public transport provider has not yet provided Google the data in the correct format.  We suggest you contact your public transport provider and suggest they get their data on Google Maps.  If they don’t know how or need help, tell them about AddTransit or send them a link (https://addtransit.com) and we can help get their public transport (ferries, buses, trams and trains) onto Maps.

2. An Example: Public Transport Directions Using Google Maps

Here’s an example of it could look. We’ve used “Times Square, New York” as the event destination.

Try entering Boston, MA as the starting address…..

 

3. Add this code

Here’s the code that you will need to add to your website.  You’ll need to modify the “Times Square, New York, USA” to be the address of your event.

<form action=”https://maps.google.com/maps” method=”get” target=”_blank”>
<label for =”saddr”>Enter your starting address: </label>
<input type=”text” name=”saddr” />
<input type=”hidden” name=”daddr” value=”Times Square, New York, USA” />
<input type=”hidden” name=”dirflg” value=”r” />
<input type=”submit” value=”Show Journey” />
</form>

Publish the updated webpage and that’s it!  Done!

Hope that helps and let us know if you have any questions.

Have a great day!

Google Maps – Bus Directions, Bus Routes and Bus Schedules

One of the great things about the advent of Google Maps is the ability to get not only only driving directions but also public transport directions.

Google Maps - Bus Directions, Routes &Schedules

Google uses GTFS (General Transit Feed Specification) files from the bus companies to display bus routes, bus schedules and calculate bus directions.

A passenger just needs to enter their start location and their final destination into Google Maps and choose the public transport icon.  Google then shows the passenger the public transport options.  The bus route is shown on a map and alternate travel routes (if available).  Further drill down options exist to allow the passenger to see the schedule,  alternate trip times, basic fare information and transfer details.

The ubiquitous 24×7 nature of Google maps bus directions, means that wherever there is access to the Internet (e.g. PC, tablet or smartphone, etc.) a passenger can plan their journey.  No more out of date paper time tables and complex journey planning!

Additionally, if your journey destination changes midway you can recalculate an alternate route in moments and get there faster.

Have a great day!