map里面的customCallout设置了anchorY和anchorX之后不会立即生效?
{
id: item.userId,
latitude: item.latitude,
longitude: item.longitude,
height: 50,
width: 45,
iconPath: '/static/Union-bg-unit.png',
customCallout: {
anchorY: 37,
anchorX: 1,
display: 'ALWAYS',
url: item.avatar
},
joinCluster: true
} as Marker
}
map里面的customCallout设置了anchorY和anchorX之后不会立即生效,只有点击之后才会回到正确的位置