Map组件的enable-satellit 无论是设置为true还是false都是现实实景地图?
发布于 5 年前 作者 yan78 1753 次浏览 来自 问答

下面是代码,现在的疑问是无论是将enable-satellit设置为true或者false,显示的都是实际街景,不能切换为正常地图,有遇到这个问题的伙伴吗?

基础库: 2.12.1

<map id="myMap"</map id=

 style=“width: 100vw; height: 100vh;” latitude="{{latitude}}" longitude="{{longitude}}" enable-satellite=“false”       markers="{{markers}}" scale="{{map_scale}}" bindtap=“onMapTap” bindmarkertap=“onPointTap” show-location=“true”>       

<view class</view 

=“search_bar”>         

<image src="/image/search.png"</image src=

 style=“width:50rpx;height:50rpx;padding-right:10px;” />         

<input class</input 

=“search_view” bindblur=“closesuggest” bindconfirm=“getsuggest” type=“text” confirm-type=“search”           value="{{backfill}}" placeholder=“输入地址定位(如: 人民广场)”>                   

1 回复
enable-satellite="{{true}}"
回到顶部