搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

typeError: google.maps.StreetViewService is not a constructor

  • 1 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 guigs

more options

I'm trying to use Google StreetView within a web application. the following URL is an example from the Google Developers site that works just fine in IE 10 and 11, and Google Chrome, but not in FireFox 27.0.1, as of yesterday. No changes have been made to my FireFox install, that I know of. https://google-developers.appspot.com/maps/documentation/javascript/examples/full/streetview-service

Does anyone have an Idea why this Google SteetView sample will not work in FireFox?

I'm trying to use Google StreetView within a web application. the following URL is an example from the Google Developers site that works just fine in IE 10 and 11, and Google Chrome, but not in FireFox 27.0.1, as of yesterday. No changes have been made to my FireFox install, that I know of. https://google-developers.appspot.com/maps/documentation/javascript/examples/full/streetview-service Does anyone have an Idea why this Google SteetView sample will not work in FireFox?

所有回覆 (1)

more options

Hi jaromz,

If you open up the debugger for that page in Firefox there is an error that an image has been truncated. I also unchecked some of the css background elements and that truncated image took the width of the whole page. I am wondering if this is how the css was rendering in Firefox.

Try changing the height value and see if it renders the whole specified width instead of the truncated or corrupted way it seems to be doing now.