当前位置: 首页>>技术教程>>正文


Firefox 无法绘制新的 Google Map

, ,

问题描述

谷歌发布了 the new Google Maps

不幸的是,它不适用于 Ubuntu 13.04 上的 Firefox 21.0。

当我打开页面时,Firefox 只是在屏幕上绘制白色网格。拖动或单击屏幕不会导致任何事情。但是,当屏幕调整大小时,Firefox 会绘制Map的当前状态。

我尝试在安全模式下打开它,但结果是一样的。

有人知道如何在 Firefox 上使用它吗?

请注意,它在 Chrome 上完美运行。此外,它还可以在同一台机器上的 Windows 8 上的 Firefox 上运行。

我机器的显卡如下:

 $ lspci | grep VGA
 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)

最佳思路

我解决了这个问题。

只需打开 about:config 并将 webgl.force-enabled 设置为 true

OpenGL 似乎以某种方式被禁用。

(2013 年 6 月 2 日)更新:

上面的答案不再对我有用。 (或者那是我的误解……)

请改用 Lite Mode

次佳思路

我将 webgl.min_capability_mode 设置为 True 并且崩溃现在已成为历史。

但是,请注意在此模式下运行时的此问题:

“The Lite mode of the new Google Maps does not include the 3D Earth view or other 3D functionality. However, you can still access satellite maps. Lite mode is enabled by default on some older browsers and operating systems, as well as on browsers that do not support WebGL and on systems where WebGL is known to be unstable. You can see if you are in lite mode by looking for the “Lite mode” indicator in the bottom right corner of the map”

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/12664.html,未经允许,请勿转载。