我不是荣荣
我不是荣荣
  • 发布:2024-03-12 01:01
  • 更新:2024-03-12 08:31
  • 阅读:500

请问,<map>,为何我怎么设置enable-satellite,都不生效?

分类:uni-app
<view class="map-box" :class="propertyInfo.id ? '' : 'map-box-all'"> <map id="map" ref="map" style="width: 100%; height: 100%;" :latitude="userCurrentLatitude" :enable-building=true :enable-3D='true' longitude="userCurrentLongitude" :markers="covers" :enable-scroll="true" @markertap="handleTapMaker" :enable-overlooking="true" @regionchange="changeMap" :enable-satellite="isSatellite" :theme="'satellite'" :show-compass=true>
<cover-view class="my-location" :class="propertyInfo.id?'my-location-pro':''">
<cover-image class="img" src="../../static/switchMapMode.png" @click="handleChangeSatellite"></cover-image>
<cover-image class="img" src="../../static/backUserCurAddress.png" @click="handleBackCurrent"></cover-image>
</cover-view>
</map>
</view>
2024-03-12 01:01 负责人:无 分享
已邀请:
套马杆的套子

套马杆的套子 - 没有解决不了的问题,只有解决不完的问题

只支持App-nvue 2.1.5+、微信小程序2.7.0

要回复问题请先登录注册