In CRS units (degrees for longlat), always easting/longitude first whatever the CRS's axis order; the CRS's y
axis is up. For a rotated view, use renderView.
Positive integer CSS pixels of the image's long side; the image has the box's aspect ratio.
OptionalpixelOutput pixels per CSS pixel. Default: 1.
OptionalmarginNon-negative integer CSS pixels of extra coverage, cropped from the output. Default: 0.
A box of a projected CRS (see
MapRenderer.projected). Vector layers (background, fill, line, circle, heatmap, symbol) are drawn in it with projected vertices; raster, hillshade and color-relief are rendered in Web Mercator and warped.