有没有办法将Google Map嵌入到HTML电子邮件中? [英] Is there no way to embed a Google Map into an HTML email?

查看:423
本文介绍了有没有办法将Google Map嵌入到HTML电子邮件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了大量研究并拥有发现了几个解决方案,例如静态地图API ,并简单地发送链接到Gmap 。然而,真的没有办法真正发送给某人一个谷歌地图吗? 解决方案

好吧,你自己的研究表明, t做iFrames,那么你认为可以做什么?



这是有目的的。 iFrames和JavaScript是邮件服务不想处理的安全风险。



你最好的选择是获得地图的静态图像和将它嵌入为HTML电子邮件中的图像。



要在Gmail中手动执行此操作:


  1. 转到 http://staticmapmaker.com/google/ 或类似的

  2. 输入位置

  3. 将地图图像复制到剪贴板并粘贴到电子邮件中 复制
  4. 选择整个图像(将光标置于右侧)。 href 然后按 shift + 左箭头

  5. ctrl + k 以超级链接图像

  6. 将步骤4中的网址粘贴到网址字段中


I have done a good amount of research and have found several "solutions" such as the static maps API and simply sending a link to a Gmap. However is there really no way to actually send someone a Google Map?

解决方案

Well your own research shows that most mail clients don't do iFrames, so what do you think can be done?

This is on purpose by the way. iFrames and JavaScript are security risks that mail services don't want to deal with.

Your best bet is to get a static image of the map and embed it as an image in an HTML email. Put a hyperlink on it to the "full" map on Google Maps.

To do this manually in Gmail:

  1. Go to http://staticmapmaker.com/google/ or similar
  2. Enter the location
  3. Copy the map image to your clipboard and paste it into an email
  4. Copy the href of the anchor in the section "Map with link to Google Maps"
  5. Select the whole image (put the cursor to the right of the image, and press shift + left arrow
  6. Press ctrl+k to hyperlink the image
  7. Paste the url from step 4 into the Web Address field

这篇关于有没有办法将Google Map嵌入到HTML电子邮件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆