html卡死手机,手机页面加载地图,双手操作放大,APP卡死

测试手机:小米5

现象:手机页面加载地图,双手操作放大,APP卡死,APP卡住后,点击物理返回键是能返回的,但页面全部不能点击。

页面代码:

initMap() ;

function initMap()

{

var longitude = 106.550337 ;

var latitude = 29.494741 ;

window.map = new qq.maps.Map(document.getElementById("allmap"), {

center: new qq.maps.LatLng(latitude,longitude),

zoom:14

});

}

控制台的日志:

正在建立手机连接...

正在同步手机端程序文件...

44 KB/s (4475 bytes in 0.097s)

正在启动HBuilder调试基座...

应用mui已启动...

A parser-blocking, cross site (i.e. different eTLD+1) script, http://open.map.qq.com/apifiles/2/4/82/main.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. at http://map.qq.com/api/js?v=2.exp:9

A parser-blocking, cross site (i.e. different eTLD+1) script, http://open.map.qq.com/apifiles/2/4/82/main.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. at http://map.qq.com/api/js?v=2.exp:9

Ignored attempt to cancel a touchcancel event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

各位,帮忙看看怎么解决?谢谢!

发现用Hello H5+这个例子APP里的Map页面,放大太快的时候,也会卡住,不知道什么原因了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值