地图加载不正常(定位、controls)
发布于 6 年前 作者 ktao 9803 次浏览 来自 问答

用户安卓机子低概率出现地图加载不正常情况,退出重进一定几率恢复

代码:

<!–地图块–>

<view class=“map-rent” wx:if=’{{state==“rent”}}’>

  <map id=“map” longitude="{{longitude}}" latitude="{{latitude}}"  markers="{{rentMap.markers}}" polyline="{{rentMap.polyline}}" controls="{{rentMap.controls}}" bindmarkertap=‘carDot1’

    bindcontroltap=‘callItem1’></map>

</view>

<view class=“map-end” wx:else>

  <map id=“map” longitude="{{longitude}}" latitude="{{latitude}}" markers="{{endMap.markers}}" polyline="{{endMap.polyline}}" controls="{{endMap.controls}}" bindmarkertap=‘carDot2’ bindcontroltap=‘callItem2’ show-location=‘true’></map>

</view>

1 回复

这个问题多次出现了,有时候加载就会出现bing地图

回到顶部