Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

streetview images fail to load in firefox

I've got a page with Google streetview running in a tab. It's failing to work properly in Firefox (Linux and Windows).

The streetview code loads properly-- you can see all the map controls, and there's no js errors reported. In firebug's network panel you can even see the images for the streetview (tiles I guess) loading.

However, the viewport just shows a grey block, with the streetview controls superimposed on it.

Streetview works properly in Google Chrome on the same page, same machine. I've also tested from a Win 7 machine, and see the same problem in FF, while it works properly in IE and Chrome.

The same code works perfectly in Firefox on the same Linux machine on another site I've got locally, and streetview performs as designed, so I don't think it's the Flash plugin, as many posts on various forums suggest.

Any ideas on this?

Here's the link:

like image 920
julio Avatar asked Dec 05 '12 16:12

julio


1 Answers

The page generate below css directly. So, get rid this css.

Line at 415:

img {
  height:auto !important;
 //max-width:100% !important;   // <- remove this css
  ...
}

enter image description here

like image 80
wf9a5m75 Avatar answered Nov 03 '22 01:11

wf9a5m75