OptionalbearingThe compass direction that is up, in degrees, as in MapLibre: 90 puts east at the
top. The map turns around the image's center; labels stay upright.
OptionalheightHeight of the image in pixels.
OptionallatLatitude of the map centre, in degrees.
OptionallonLongitude of the map centre, in degrees.
OptionalpaddingSpace around the map's center, in pixels, as MapLibre's padding: the center (lon,
lat) sits in the middle of the area inside it, e.g. to keep it clear of a panel laid
over the image. A number applies to all sides.
OptionalscalePixel density, like a device pixel ratio. The image is width * scale by
height * scale pixels, while the map is laid out as if it were width by height.
See RenderToPNGOptions.scale.
OptionalwidthWidth of the image in pixels.
OptionalzoomZoom level, as in MapLibre: each step doubles the scale. Fractional values are allowed.
The view to render as PNG: ViewOptions, plus the pixel density.