ImageLayer
Introduction
When adding a picture to the map, you need to specify the latitude and longitude range of the picture and the data parsing type.
const layer = new ImageLayer({});
layer.source('https://gw.alipayobjects.com/zos/rmsportal/FnHFeFklTzKDdUESRNDv.jpg', {
parser: {
type: 'image',
extent: [121.168, 30.2828, 121.384, 30.4219],
},
});