高德地图api,LabelMarker icon显示空白问题
使用import
// script
import Icon from './img/icon.png';
const marker = new AMap.LabelMarker({
// ...
icon: {
image: Icon,
offset: [10, 10],
size: [50, 50]
}
})