Display your KML on a Google Map

KML – the Google Earth/Maps markup language – is a handy and convenient way of displaying geographical information on a google map.

To use it though you need to store your KML on a website somewhere where Google can get at it – which makes for quick and dirty KML experimentations a bit of a pain.

SO, I’ve created a quick little Rails application that let’s you see your KML straight away – without having to go through the rigmarole of saving it in a file somewhere first.

Check it out here: http://display-kml.appspot.com/

To use it, just type some KML into the box, click the button, then move around on the google map – pretty straight forward!

To get you going, here’s some interesting KML as provided by the Google Maps team. Paste this in then zoom up on Sicily!

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
Overlay shows Mount Etna erupting on July 13th, 2001.
<name>Large-scale overlay on terrain</name>
<LatLonBox id="khLatLonBox751">

There’s some more cool KML samples here http://googlemapsapi.blogspot.com/2006/11/kml-on-google-maps.html

Subscribe via RSS

Back to all blog posts