6

IE11 无法处理 WebGL 版本的谷歌地图。例如,尝试在此页面上拖动地图:

https://developers.google.com/maps/documentation/javascript/examples/map-simple

但是,如果您访问 maps.google.com,您会看到它使用精简模式(画布)并且运行起来更加流畅。如果访问该页面没有自动使用画布模式,请转到此 URL:

www.google.com/maps/preview/?force=canvas

我正在针对 Maps javascript API 进行开发,所以我需要知道如何强制使用这种模式,这样我的 IE11 用户就不会遇到糟糕的体验。

4

2 回答 2

0

Any issues you are seeing with the simple map example noted above are unrelated to webgl: The JS API currently uses WebGL only for displaying Street View, and then only for certain OS/Browser combinations (and not currently ie11).

I was able to view the page in ie11 on a VM and it seemed ok. Given it is not a webgl issue, can you be more clear what problem you are having in IE11?

于 2014-03-31T17:24:26.877 回答
-3

利用:

GoogleMapOptions options = new GoogleMapOptions().liteMode(true);

您有更多信息: https ://developers.google.com/maps/documentation/android-api/lite

于 2015-12-21T10:06:01.030 回答