Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to export a KML file from points plotted in Javascript using the Google Maps API. Is there a way to do this?

I would like the user to be able to log in and see Google Maps, then plot points on the map and finally export those points in a KML format.


share|improve this question
up vote 1 down vote accepted

This Example builds up the KML and shows you the RAW KML format

share|improve this answer
Is there any de-obfuscated JS code for this? It does not help me if there is no explanation on how its done or how to implement it myself. – Chris Lucian Jul 19 '11 at 16:07 is NOT obfuscated in fact non of the site is. – Mapperz Jul 19 '11 at 18:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.