如何在 iframe 中打开 google 地图 link

How to open google map link in iframe

我有一个 google 地图 url 我如何在 iframe 中打开它 url: http://maps.google.ca/maps?q=14735+32A+AVE+Surrey+V4P+1Z8+bc&spn=0.012065,0.040770&iwloc=A&hl=en

我正在使用此 iframe open/embed iframe 中的地图

<iframe src="http://maps.google.ca/maps?q=14735+32A+AVE+Surrey+V4P+1Z8+bc&amp;spn=0.012065,0.040770&amp;iwloc=A&amp;hl=en" width="600" height="450" frameborder="0" style="border:0"></iframe>

它没有显示任何内容。请帮助

  1. 在网络浏览器中打开 link
  2. 单击右下角的 "gear"(在 "new" Google 地图上)。

  1. 选择"Share or embed map"
  2. 单击 "Embed Map" 选项卡
  3. 选择尺码
  4. 复制提供的 iframe 代码,在您的页面上使用它。它看起来像这样:
<iframe src="https://www.google.com/maps/embed?pb=!1m16!1m12!1m3!1d21056742.211671695!2d-97.15369!3d49.891235!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!2m1!1s14735+32A+AVE+Surrey+V4P+1Z8+bc!5e0!3m2!1sen!2sca!4v1424618801986" width="600" height="450" frameborder="0" style="border:0"></iframe>