【问题标题】:Displaying address / location in Bing map which is embedded in website在嵌入网站的 Bing 地图中显示地址/位置
【发布时间】:2013-07-05 21:10:00
【问题描述】:

我正在尝试在我网站的 Find-us 页面中添加我的营业地点。我已经尝试使用Share this Map 选项来获取 HTML 源代码。

我有以下 HTML 代码

<div id="mapviewer">
<iframe id="map" scrolling="no" width="500" height="400" frameborder="0" src="http://www.bing.com/maps/embed/?v=2&amp;cp=51.539516~0.078122&amp;lvl=15&amp;dir=0&amp;sty=r&amp;eo=0&amp;q=IG11%208FG&amp;form=LMLTEW&amp;emid=8cd3a6a7-a0a0-d941-0120-307b10dac26f">
</iframe><div id="LME_maplinks" style="line-height:20px;">
<a id="LME_largerMap" href="http://www.bing.com/maps/?v=2&amp;cp=51.539516~0.078122&amp;lvl=15&amp;dir=0&amp;sty=r&amp;eo=0&amp;q=IG11%208FG&amp;form=LMLTEW" target="_blank" style="margin:0 7px">View Larger Map</a>
<a id="LME_directions" href="http://www.bing.com/maps/?v=2&amp;cp=51.539516~0.078122&amp;lvl=15&amp;dir=0&amp;sty=r&amp;eo=0&amp;q=IG11%208FG&amp;form=LMLTEW&amp;rtp=%7Epos.51.53951644897461_0.0781221166253232_London" target="_blank" style="margin:0 7px">Driving Directions</a>
</div>
</div>

目前,我所能看到的只是一张缩小的地图,其中显示了有关该位置的模糊详细信息。 我想要一个带有地址/位置的黑色叠加层,可以在 bing 地图或 puspin 或 {anything else} 中看到,可以查明我的业务所在的位置。 我尝试将 where1=... 参数添加到源(我在一篇文章中读到),但这没有用。

【问题讨论】:

  • 您在哪里需要 Pin?

标签: html web embed bing-maps pushpin


【解决方案1】:

您可以在 Bing 中生成代码时添加图钉。在“自定义和预览”对话框中,您可以右键单击并添加图钉。为什么不在您需要放置它的地方执行此操作?

【讨论】:

  • 我一直在寻找更复杂的图钉,就像在 bing 地图上可见的图钉一样,黑色标注覆盖与企业名称,但无论如何蓝点(图钉)就足够了。谢谢。
  • 我认为您的帖子部分回答了他的问题(或者也许我只是遗漏了一些东西)。您不会在图钉上方获得地址工具提示,您只会获得在我看来不是很有帮助的图钉。有没有办法添加工具提示?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-04-02
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多