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.


1 Answer 1


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


  • 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. Jul 19, 2011 at 16:07
  • birdtheme.org/useful/PolylineEncoder.js is NOT obfuscated in fact non of the site is.
    – Mapperz
    Jul 19, 2011 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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