uni-app 苹果机 引入map组件 show-location="true" 不起作用

uni-app 苹果机 引入map组件 show-location=“true” 不起作用

示例代码:

<map id="mapId" class="map" :latitude="location.lat" :longitude="location.lng" :markers="markers"  
scale="scale" :show-location="true" :include-points="includePoints" @markertap="onTap"
                @callouttap="onTap" style="width: 100%; height: 400rpx;"></map>

操作步骤:

<map id="mapId" class="map" :latitude="location.lat" :longitude="location.lng" :markers="markers"  
scale="scale" :show-location="true" :include-points="includePoints" @markertap="onTap"
                @callouttap="onTap" style="width: 100%; height: 400rpx;"></map>

预期结果:

  • 显示当前位置坐标点

实际结果:

  • 没显示

bug描述:

uniapp 开发H5 引入map组件 show-location=true不显示带有方向的当前定位点

信息类别 信息内容
产品分类 uniapp/H5
PC开发环境操作系统 Windows
PC开发环境操作系统版本号 win7 旗舰版
HBuilderX类型 正式
HBuilderX版本号 3.8.12
浏览器平台 微信内置浏览器
浏览器版本 8.0.50
项目创建方式 HBuilderX

更多关于uni-app 苹果机 引入map组件 show-location="true" 不起作用的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app 苹果机 引入map组件 show-location="true" 不起作用的实战教程也可以访问 https://www.itying.com/category-93-b0.html


麻烦官方看看这个问题 我看好多人有这个问题存在

回到顶部