地图Callout位于Marker底部的问题
const mk: Marker = {
id: 200,
alpha: 1,
latitude: Number(rider.result.rider_lat),
longitude: Number(rider.result.rider_lng),
width: scalePx2dp(144, false),
height: scalePx2dp(160, false),
iconPath: getSrc(riderAvatarDelivery[delivery.company], 140)
}
if (content) {
mk.callout = {
content: content,
color: '#343434',
fontSize: 14,
borderRadius: 2,
borderWidth: 0,
borderColor: '#fff',
bgColor: '#fff',
padding: 8,
textAlign: 'center',
display: 'ALWAYS'
}
}
[图片] marker图片是https地址。这bug情况偶现。