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.
I don't know about .gpx files but I have built XML files from custom code in the past. You use a Custom Code action and the PHP XML methods - it's a little tedious but not difficult,
. . . looks as though a GPX file is a specialised form of XML so that the same applies.
Bob
ChronoForms technical support If you'd like to buy me a coffee or two, thank you very much
I don't know about .gpx files but I have built XML files from custom code in the past. You use a Custom Code action and the PHP XML methods - it's a little tedious but not difficult,
. . . looks as though a GPX file is a specialised form of XML so that the same applies.
Bob
If you'd like to buy me a coffee or two, thank you very much