【发布时间】:2015-07-25 19:08:35
【问题描述】:
我正在尝试使用 Google 地图提供的代码嵌入地图,而无需进行任何更改。当页面显示时,Google 指针、缩放级别指示器等显示,但没有街道或地图本身。这是 Google 提供的代码:
<iframe width="425" height="350" frameborder="0" scrolling="No" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=First+Baptist+Church,+Mc+Caysville,+GA+30555&hl=en&cd=2&ei=Gh10TNbbGZj0ygTT24nwCQ&sig2=hvRb-F6JuV91UcC6QUKGUw&ie=UTF8&view=map&cid=16713672426408470324&ved=0CBoQpQY&hq=First+Baptist+Church,+Mc+Caysville,+GA+30555&hnear=&ll=34.986955,-84.368584&spn=0.006153,0.013754&z=16&output=embed&iwloc=near&addr"></iframe>
<br />
<small><a href="http://maps.google.com/maps?q=First+Baptist+Church,+Mc+Caysville,+GA+30555&hl=en&cd=2&ei=Gh10TNbbGZj0ygTT24nwCQ&sig2=hvRb-F6JuV91UcC6QUKGUw&ie=UTF8&view=map&cid=16713672426408470324&ved=0CBoQpQY&hq=First+Baptist+Church,+Mc+Caysville,+GA+30555&hnear=&ll=34.986955,-84.368584&spn=0.006153,0.013754&z=16&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small></div>
有什么问题?
【问题讨论】:
-
您是想将 Google 地图嵌入到您的页面中,还是只是创建一个指向 Google 地图网站的链接?因为您所拥有的不是嵌入式地图,而只是指向 Google 地图网站的链接。
-
没关系,您没有使用代码格式,因此您的实际嵌入代码被隐藏了。我编辑了你的问题来解决它。
标签: google-maps google-maps-embed