Estate 3D Blog

KML And The Google Earth Javascript API

Posted over 1 year ago by Hamish

If you have delved a bit deeper into Google Earth and it's functionality, then you have probably heard of KML (Keyhole Markup Language). To put it simply, KML can be used to annotate various objects in Google Earth such as lines, polygons, balloons and used to manipulate the camera.

KML is a very simple and concise language, which means that just about anybody can use it to define annotations and visualisations in Google Earth. To me, this is especially valuable for Sketchup modelers who want to prototype the behaviors of more complex KML Mash Ups that can later be developed using the Google Earth Javascript API.

Using the Google Earth API Utility Library, I have put together a simple page to parse KML and visualise the output in a Google Earth API window, found here. Define some KML in the text area and then hit the 'Parse KML' button. This is especially useful for the people whom have knowledge of Google Earth and KML but do not have the Javascript knowledge to interact with the API. 

If you are interested developing a rich geo-application using the Google Earth API, for you or your business, get in contact with us to discuss possible avenues.

That's all for now!