收藏
回答

地图加载不正常(定位、controls)

框架类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Android 未知 未知 未知

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


代码:

<!--地图块-->

<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 个回答

  • inky eyes
    inky eyes
    2018-02-09

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

    2018-02-09
    有用
    回复
登录 后发表内容