Raster | MapGL | Urbi Documentation

Raster

Class for creating a raster on the map.

new constructor(map, options)

Example:

const raster = new mapgl.Raster(map, {
    bounds: map.getBounds(),
    image: {
        url: 'some/url'
    },
});
Parameters
map
Map

The map instance.

options
RasterOptions

Raster options.

Returns
Methods