• About
  • Contact
  • Presentations
  • WordPress Consulting
  • WordPress Courses
  • Advertising
  • Podcasts
  • Jobs
  • Tech Comm Pipe

  • Making a Chapter Member Map Mashup with Google Maps

    February 8th, 2007 | Posted in Web 2.0, Web Design 7 Comments »

    For a long time now I’ve wanted to make a chapter member map mashup with Google maps. To see what I’m talking about, look at this page: http://stc-suncoast.org/map.html. I’m not finished putting all the members up there — this is obviously just a start.

    google map mashup

    Google Maps has an API that allows you to blend your own data with their mapping system. It’s really much easier to create a Google map mashup than it may initially appear.

    To create a member mashup with Google maps:

    1. Go to the Google API page and sign up for an API key. This is a long string of digits you’ll need.
    2. Go to this sample page, right-click to view the source code, and copy the source code. More map possibilities are here.
    3. Paste the source code into a notepad file, change the API key to your own API key (this appears near the top after the word “key”), and save the file with a .html extension.
    4. Look for the following text in your file:// Set up three markers with info windows
      var point = new GLatLng(43.65654,-79.90138);
      var marker = createMarker(point,’<div style=”width:240px”>Some stuff to display in the First Info Window. With a <a href=”http://www.econym.demon.co.uk”>Link</a> to my home page</div>’)
      map.addOverlay(marker);
    5. Replace the coordinates inside GLatLng() with the coordinates of the markers that you want. To convert your addresses into coordinates, use single geocoder for small addresses or this batch geocoder for larger jobs.
    6. Replace the text “Some stuff to display in the First Info Window…” with text that you want to accompany your marker.
    7. Repeat that chunk of marker text for as many markers as you want to create.
    8. Upload the .html file somewhere on your directory. Voila, your Google mashup map appears.
    These icons link to social bookmarking sites where readers can share and discover new web pages.
    • del.icio.us
    • StumbleUpon
    • Facebook
    • LinkedIn
    • TwitThis

    7 Responses to “Making a Chapter Member Map Mashup with Google Maps”

    1. Brian says:

      Small world! I was asked today to use the Google Maps API to design a map of my company’s offices for our website! Thanks for the references!

      FYI there is a Canadian counterpart to that geocoder site at http://geocoder.ca/

    2. [...] and I talk about the following: Suncoast Member map, Virtual Chat, Ze Frank Show, Google Maps API, Making a map, Batchgeocoder, Searchmash, Ask a Ninja, Sparkpeople, DMN C0mmunications, Software Saturdays, Web [...]

    3. VJ says:

      http://www.econym.demon.co.uk is a great site, it helped us to finish our GM mashup project with world-wide panoramic virtual tours on http://3dtour.cz . Worth browsing through the site and learning how different things in GM API work.

    4. Tom says:

      Thanks for the site recommendation. It has some great tutorials. I remember finding that site when I was searching about Google maps. It’s very helpful.

      Thanks,

      Tom

    5. Member map says:

      [...] to see where everybody is. member map…some random forum Or something like this: another map (done like this) I dunno if this is easy, feasible, or what…just thought I’d bring it up… … [...]

    6. [...] I'm not certain, but this may help…http://www.idratherbewriting.com/2007/02/0…th-google-maps/ [...]

    Leave a Reply

    « »