---
title: "Making a Chapter Member Map Mashup with Google Maps"
date: 2007-02-08
description: "Tom Johnson’s blog on technical writing and AI: agent skills, docs for AI agents, docs-as-code, tech comm careers, and an API documentation course."
canonical_url: https://idratherbewriting.com/2007/02/08/making-a-chapter-member-map-mashup-with-google-maps/index
---

> For AI agents: a documentation index is available at https://idratherbewriting.com/llms.txt. Markdown versions of all pages are available by appending .md to any page URL.

# Making a Chapter Member Map Mashup with Google Maps

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](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](https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/map.png)](http://stc-suncoast.org/map.html)

Google Maps [has an API](https://www.google.com/apis/maps/) 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](https://www.google.com/apis/maps/)and sign up for an API key. This is a long string of digits you'll need.
2. Go to [this sample page](http://www.econym.demon.co.uk/googlemaps/examples/map.htm), right-click to view the source code, and copy the source code. More map [possibilities are here](http://www.econym.demon.co.uk/googlemaps/).
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](http://www.econym.demon.co.uk/)> 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](http://geocoder.us/) for small addresses or this [batch geocoder](http://www.batchgeocode.com/) 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.
