简体   繁体   English

在Google 8.1预览版中,Google Maps API V3缩放功能无法与IE 11配合使用

[英]Google Maps API V3 pinch-to-zoom does not work with IE 11 on Windows 8.1 preview

Trying to use pinch-to-zoom on multitouch screen with Windows 8.1 preview and Internet Explorer 11 (IE later on) does not work with Google Maps API V3 (none of the latest versions: 3.12, 3.13 and 3.14). 尝试在Windows 8.1预览和Internet Explorer 11(稍后使用IE)的多点触控屏幕上使用双指点缩放功能不适用于Google Maps API V3(没有最新版本:3.12,3.13和3.14)。 The expected behaviour is map zooming in and out. 预期的行为是地图放大和缩小。

The same feature is working just fine with Windows 8 and IE 10. Windows 8和IE 10的功能相同。

There seem to be two exceptions for the case: 这个案例似乎有两个例外:

Does anyone know how that is achieved so that it could be used until the issue is fixed? 有谁知道如何实现这一点,以便在问题得到解决之前可以使用它?

For the time being you can add this meta tag to your head tag (make sure it's the first tag after the head) 目前您可以将此元标记添加到头标记中(确保它是头部后面的第一个标记)

<meta http-equiv="X-UA-Compatible" content="IE=10" />

That will fix the problem for IE 11 users because the browser will behave as an IE 10 browser. 这将解决IE 11用户的问题,因为浏览器将表现为IE 10浏览器。

When Google fixes the bug you can put it back to IE=edge or just remove it. 当Google修复该错误时,您可以将其恢复到IE = edge或者将其删除。

EDIT : The bug has been fixed by now 编辑:这个bug已经修复了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM