Build a Google Maps service

google map

[8Ball] was interested in building a Google Maps based service, but didn’t know where to start. Luckily he stumbled across Peter Rukavina’s Charlottetown Transit Map. The project shows the bus routes and has schedule popups linked to each of the stops. Peter was nice enough to include full source code for how this was implemented in PHP and Javascript. He also describes setting up the necessary MySQL tables.

17 thoughts on “Build a Google Maps service

  1. I wanted to do this for penn state; upload your class schedule and it would show you were all the buldings are and how much time it should take to walk to each one, but google maps has a very very low res(or as i say: shitty) of psu campus, so that idea was axed. :(

  2. How is this a hack? Google has an published the map API, and everything on their site is well documented. The maps are designed to be used in this way, so what makes this a hack?

  3. It’s a stepping stone to creating your own google maps based project, and I for one am glad to see it. How is any software a hack? Exactly. Hack means to do something, in a creative manner. How is taking some commodity parts and building a power rail and making an AP a hack? Because he took something and made it suit his purposes better. This is not the grandest example of a Google Maps hack (though the GMaps Risk is a good example), this includes source code to get us on our own google maps based solution. If I had this when I worked as a Dell Field Tech, I could have scripted it to take the calls from the website and then give me automatic maps, with the best possible route.

  4. Hi,

    Very cool implementation. For the interested I’ve just completed the fourth article of a four-part series on Google maps development using their free API, PHP, MySQL, the U.S. Census Bureau TIGER/Line data, and the Geo::Coder::US Perl package. Here’s the article list:

    1. Integrating Google Maps into Your Web Applications

    http://www.developer.com/tech/article.php/3528381

    2. Retrieving Map Location Coordinates with geocoder.us

    http://www.developer.com/tech/article.php/3548171

    3. Build Your Own Geocoding Solution with Geo::Coder::US

    http://www.developer.com/tech/article.php/3557171

    4. Build a Geocoding Web Service
    Due to be published on 11/16

    Hope this helps!
    Jason

  5. yo “fucter”

    I was thinking about something similar for the PSU campus. An implementation of the Loop and Link routes and stops, or the other CATA routes (R, V, etc) with schedules etc would be frggin incredible. The satellite image might be terrible but the map data is fine. Don’t give up, I would love if this thing worked.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s