Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

1 Answer 1

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
birdtheme.org/useful/PolylineEncoder.js 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.