小程序中腾讯地图卡顿问题(华为p20 mate10等机型)
发布于 5 年前 作者 min92 3753 次浏览 来自 问答

小程序中使用腾讯地图,onload onshow onready里面不进行任何request请求。在华为系列机型中非常卡顿,从地图页面切到别的页面卡顿非常明显。

2 回复

麻烦提供一下出现问题的机型和微信版本,并且给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题

华为mate20,微信版本6.7.3。

<map id=‘mapContext’ longitude="{{longitude}}" latitude="{{latitude}}" class=‘maps’ show-location=‘true’ polygons=’{{polygons}}’ bindregionchange=‘onRegionchange’ markers=’{{markers}}’ scale=’{{scale}}’ include-points=’{{includePoints}}’>

</map>

建两个page,一个page放个全屏幕地图,另外一个page空页面就会出现卡顿问题。你百度搜索小程序地图 华为手机卡顿,一系列这种问题的反馈(有人分析是华为上android8.0之后才有的问题)。经过我们测试摩拜小程序用的腾讯地图有相同的问题。

回到顶部