map组件 enable-rotate 不能旋转?
发布于 4 年前 作者 pjia 6006 次浏览 来自 问答

<map

id=“myMap”

style=“width: 100%; height: 300px;”

show-location

enable-rotate=‘true’

></map>

小程序的地图是不支持旋转吗? 那这个enable-rorate的属性作用是?

3 回复

安卓上开启俯视enable-overlooking属性后就能旋转了~~

ios 可以  安卓现在不能旋转是吗?

直接写就好

<map id=“map” longitude="{{location.longitude}}"

latitude="{{location.latitude}}"

scale=“14”

markers="{{location.markers}}"

show-location

enable-rotate

@markertap=“markertap></map>

回到顶部