街景不适用于Firefox

时间:2012-07-05 08:24:17

标签: google-maps-api-3

实时页面在这里: http://teamclarke.com/teamclarke/?listing=2-251-east-8th-street

街景视图适用于IE9和Chrome。只需得到一个带有FF11的灰色框

jQuery(function() {
            // Handler for .ready() called.
            var center = new google.maps.LatLng(44.230065,-76.50000);

            var svOptions = {
                position: center,
                visible:true
            };

            var sv = new google.maps.StreetViewPanorama(document.getElementById('pano'),svOptions);
            //initialize();
        });

非常感谢任何帮助。

1 个答案:

答案 0 :(得分:12)

这是由 .entry-content img 的样式规则引起的,它们也会影响StreetView的图像。

将此添加到您的样式中:

#pano img {
    border: none !important;
    max-width: none !important;
}
相关问题