2014-05-18 35 views
0

我曾經有一個網頁的一部分場所顯示的地圖:谷歌地圖默認縮放已更改?

<iframe width="934" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?q=loc:36.12829973975456,-115.16433477401732&amp;ie=UTF8&amp;ll=36.12829973975456,-115.16433477401732&amp;output=embed"></iframe> 

完整頁面的例子是在這裏: http://www.nationalvip.com/venue/4a9248d6f964a520091d20e3/xs-nightclub

這用來渲染到一個相當不錯的默認街視圖。不知怎的,現在我把整個地球展現出來幷包裹起來。任何猜測可能會發生什麼?有這個簡單的解決辦法嗎?

+0

你在這裏檢查過:https://developers.google.com/maps/documentation/embed/guide?您可能需要修改網址並添加API密鑰。 – sideroxylon

回答

1

不知道發生了什麼事您的鏈接,但下面應該工作

<iframe width="934" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com/maps/place/36%C2%B007'41.9%22N+115%C2%B009'51.6%22W/@36.128279,-115.164285,39m/data=!3m1!1e3!4m2!3m1!1s0x0:0x0?hl=en-US"></iframe> 

這是一個衛星視圖,而不是谷歌街景,但街景可能無法使用這些座標。