如何判断这个安卓机型是否支持同层渲染?

发布于 7 年前作者 lei007397 次浏览最后编辑 7 年前来自 issues

有个帖子上回复说bindrendererror来判断,但我在map的api上没看到这个绑定事件,试了一下也不打印东西啊

<map class="map" id="map" longitude="{{longitude}}" latitude="{{latitude}}"  show-location="true" scale="{{scale}}" markers="{{markers}}" bindmarkertap="makertap" bindrendererror="getError"></map>
getError(error){
  console.log('同层渲染',error);
}
2 回复
gongxiuying
gongxiuying1 楼6 年前

判断版本号

jing73
jing732 楼5 年前

我想通过判断 来区分是否支持同层渲染 用 cover-view来兼容下 舍弃一些功能~