This project is for an aerial photographer who needs a contact form that allows the user to draw a polygon area on a google map and send that data to him as a .kml and .gpx attachment. That way he can simply import the .kml or .gpx file into Google Earth. His old form with a previous developer is here http://redwingaerials.com/requestquote.html. Its being run through an iframe. Basically I want to recreate it so we can ditch the iframe and make it responsive but I'm not sure how to make it generate the .kml (xml) and .gpx (also xml) attachments.