Sams
Sams
  • 发布:2023-04-21 16:55
  • 更新:2023-08-30 16:59
  • 阅读:179

【报Bug】app地图使用自定义气泡无效

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 多种

HBuilderX类型: 正式

HBuilderX版本号: 3.7.9

手机系统: Android

手机系统版本号: Android 11

手机厂商: 华为

手机机型: 多种

页面类型: nvue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
<map id="myMap" :style="{height:${mapHeight}rpx,width:'750rpx'}" :longitude="mapLongitude" latitude="mapLatitude" :scale="scale" :markers="markers"> <cover-view slot="callout">
<block v-for="(item,index) in markers" :key="index">
<cover-view class="activeBox" :marker-id="item.id">
<cover-view class="active-cont">
<cover-view class="active-left">
<cover-view class="active-left-text">
123123
</cover-view>
</cover-view>
<cover-view class="active-right">
123123213
</cover-view>
</cover-view>
</cover-view>
</block>
</cover-view>
</map>

操作步骤:

mapLongitude: 116.3974770000,
mapLatitude: 39.9086920000,
scale: 14,
markers: [
{
id: 1,
latitude: 39.989631,
longitude: 116.481018,
rotate: 0,
width: 20,
height: 20,
anchor: {
x: 0.5,
y: 1
},
customCallout: {
display: 'NONE'
},
},
{
id: 2,
latitude: 39.9086920000,
longitude: 116.3974770000,
iconPath: '/static/tabbarImage/map/station_icon.png',
width: 34,
height: 40,
customCallout: {
anchorY: 0,
anchorX: 0,
display: 'NONE'
},
}
], //标记

预期结果:

正常显示

实际结果:

现在 只有标记头上有一点点小小的白色

bug描述:

nvue页面 自定义气泡只显示一个白色三角形

2023-04-21 16:55 负责人:无 分享
已邀请:
_Nora_

_Nora_

display: 'NONE'?

要回复问题请先登录注册