kml-to-js converts .KML files exported from Google Maps to Javascript arrays. you can easily copy the result by clicking on "copy to clipboard" button.