Marking multiple arbitrary points on Google Maps

27th August, 2006

This post is a follow up to Markers at arbitrary points on Google Maps I wrote last year. At that time I noticed the following failings:

This has now changed with the addition to Google Maps of something called KML which was previously only available on Google Earth. It appears that KML allows one to mark multiple points by:

  1. Creating an XML file containing all the points one wishes to describe,
  2. Making that file accessible to Google Maps

In order to show this in action I have created the file oaklands.kml. The following things should be noted:

  1. The <Point> tag is set out in the following way: longitude,latitude,altitude. This is different to points entered into Google Maps query box which are in the format: latitude,longitude.

  2. tags should not be written with any slashes in.
  3. All the <description> tags I've seen have their data contained within <![CDATA[ ]]>. I suggest you do the same.

Now, all that remains is for me to present an updated Google Maps link for Oaklands Community School.