Raster object
To add a raster to the map, specify the required bounds and image.
const raster = new mapgl.Raster(map, {
bounds: {
southWest: [37.594255, 55.752130],
northEast: [37.649709, 55.787238],
},
image: {
url: 'https://docs.2gis.com/img/mapgl/cloud.png',
},
});