开发者工具显示没问题 部署到手机上(安卓机是黑色填充的覆盖住多标记点内容。苹果机直接不显示覆盖物)华为mate40 pro,微信version8.0.20,HarmonyOs2.0.0 苹果11, 微信8.0.20,15.4.
代码:
markerList:[{
latitude: 30.264786,
longitude: 120.20775,
iconPath: '../../static/uview/common/dot_20_28.png',
title: '内容'
},
{
latitude: 33.264786,
longitude: 121.20775,
iconPath: '../../static/uview/common/dot_20_28.png',
title: '内容2'
}],
polygons: [{
points: [{
"longitude": 121.323856,
"latitude": 31.162934
},
{
"longitude": 121.319454,
"latitude": 31.157784
},
{
"longitude": 121.278269,
"latitude": 31.152843
},
{
"longitude": 121.277012,
"latitude": 31.144175
},
{
"longitude": 121.287486,
"latitude": 31.139958
},
{
"longitude": 121.280991,
"latitude": 31.133248
},
{
"longitude": 121.265734,
"latitude": 31.136393
}
],
fillColor: "rgba(253,10,128,0.1)", //填充颜色
strokeColor: "rgba(253, 100,128,0.5)", //描边颜色
strokeStyle: "solid",
strokeWidth: 1, //描边宽度
}
],
出问题先看文档https://developers.weixin.qq.com/miniprogram/dev/component/map.html
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
附带照片(黑色是手机安卓显示,粉色是开发者上显示需要的)苹果机不显示覆盖