map 的 cover-view在苹果中无法正常使用
发布于 4 年前 作者 chaoshi 8486 次浏览 来自 问答

    <map id=“running_map” latitude="{{userLocation.latitude}}" longitude="{{userLocation.longitude}}" show-location scale=“18”

style=“width:100%;height:100%;” controls="{{controls}}" include-points="{{all_points}}" polyline="{{polyline}}" markers="{{markers}}"   show-location>

<cover-view style=“width:100%;height:100%;z-index:999;”> <text>哈哈哈</text></cover-view>

    </map>

我这样做的目的是让地图不可触摸和移动,因为要自动获取中间位置坐标,所以给个cover-view遮罩以阻止触摸和点击

但是开发工具和安卓可以,但苹果上真机不行,求解?或者有其他方法么?

注:苹果版本6.5.7

回到顶部