- markashtonAsked on March 31, 2011 at 10:05 AM
Objective: To add google map functionality to html email.
Problem: HTML Editor is crippled in HTML mode stripping code out as it sees fit. I am unable to add an iframe. The code is not accepted. This, however, is the code that Google presents one to embed.
Essentially, I require exactly what happens in the submissions area when an address is found i.e. a google map is generated of good size.
Can you advise me on how I might get a google map to show in an autoresponder email
- markashtonAnswered on March 31, 2011 at 11:12 AM
Just a little more info:
I note you use Tiny MCE Editor. By default it has the tags for Iframe turned off.
I found this to hopefully fastrack this as I know you guys like an instant fix:
hope you can help on this. have tried in a couple of form providers and the do allow the iframe tag in their editors so can't be terrible ...
- DanielGriffinAnswered on March 31, 2011 at 11:33 AM
I'm not sure if it's possible to add an iframe to an email, unless that iframe were to point to some document on the web. However I have discovered a TinyMCE plugin specifically for Google maps. I'll assign this to the developers since would require some changes to the code. I'll also include a link to that in this message so that they can take a look for you.
Sorry but I'm not sure how long this will take or if it can even be started soon. It does sound like a very handy feature so hopefully we can get something for you soon.
- JotForm SupportNeilVicenteAnswered on March 31, 2011 at 11:39 AM
The easiest way to add a Google Maps image into your Autoresponder emails is to use the Google Static Maps API. This API sends back a static map image (jpg,png, and gif) depending on the parameters that you specify. For more information, proceed to this link: Google Static Maps API.
Take this image for example:
I inserted this image using html <img> tags. You can also do the same via the HTML editor of the Autoresponder Email Composer. Iframe is not needed because that API outputs an image and not an html document.
Hope you find this information helpful.
- markashtonAnswered on March 31, 2011 at 01:25 PM
Thanks for taking the time to advise me on that. I have a great working solution now thanks to you.
- JotForm SupportNeilVicenteAnswered on March 31, 2011 at 01:39 PM
You're very much welcome. Let us know if you have any other questions.
- Mehul NaharAnswered on August 03, 2011 at 03:32 AM
I have a question, I want to design an application for gmail where
1. A map will show location of sender (through IP address )
2. When user reply's to the mail it should show the route of the mail.
3. If the user forwards the mail it should again map (marker of the sender), plot the route to the marker of the reciver.
Can you please help with this, can you guide me with this application.
- JotForm SupportliyamAnswered on August 03, 2011 at 10:52 AM
We apologize but we only support Jotform related inquiries.