2015-09-07 63 views
-2

我想使用bing地圖嵌入代碼。我無法在冰箭地圖上找到它。我想在網站上使用它。Bing地圖嵌入代碼

我尋找這個位置: 全方位曼德勒酒店拉斯科琳娜 221東拉斯科利納斯大道 歐文,德克薩斯州75039

我能請得到任何幫助。

我只想使用bing map no google map。

回答

2

一旦你找到你想要的位置,右上角有一個分享按鈕。一旦你點擊一個覆蓋圖出現,你會發現嵌入代碼。你引用的位置的嵌入代碼會是這樣:

<div id="mapviewer"><iframe id="map" scrolling="no" width="500" height="400" frameborder="0" src="https://www.bing.com/maps/embed/?v=2&amp;cp=32.876173~-96.941603&amp;lvl=15&amp;sty=r&amp;where1=Irving%2C%20Texas%2C%2075039&amp;ss=yp.Omni%20Mandalay%20Hotel%20at%20Las%20Colinas~pg.1~rad.80&amp;form=LMLTEW&amp;emid=0d672ee5-c816-0a5a-45b8-47e9af4c2e70"></iframe><div id="LME_maplinks" style="line-height:20px;"><a id="LME_largerMap" href="https://www.bing.com/maps/?v=2&amp;cp=32.876173~-96.941603&amp;lvl=15&amp;sty=r&amp;where1=Irving%2C%20Texas%2C%2075039&amp;ss=yp.Omni%20Mandalay%20Hotel%20at%20Las%20Colinas~pg.1~rad.80&amp;form=LMLTEW" target="_blank" style="margin:0 7px">View Larger Map</a><a id="LME_directions" href="https://www.bing.com/maps/?v=2&amp;cp=32.876173~-96.941603&amp;lvl=15&amp;sty=r&amp;where1=Irving%2C%20Texas%2C%2075039&amp;ss=yp.Omni%20Mandalay%20Hotel%20at%20Las%20Colinas~pg.1~rad.80&amp;form=LMLTEW&amp;rtp=%7Epos.32.87617255002736_-96.94160270019577_North%20Irving" target="_blank" style="margin:0 7px">Driving Directions</a></div></div> 

enter image description here

+0

越來越之後我我點擊酒店的位置並點擊右上方的分享按鈕。它給了我覆蓋,但我只得到這個「顯示完整的URL」,如果我把它放在iframe中不起作用。你的代碼給我提供了我沒有得到它。 –

+0

我添加了一個圖像,應該闡明如何獲取嵌入代碼並自定義其顯示的所有選項。 – DKrautkramer