@ml2drender/wasm
    Preparing search index...

    Interface ProjectedBox

    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.

    interface ProjectedBox {
        bbox: [minX: number, minY: number, maxX: number, maxY: number];
        size: number;
        pixelRatio?: number;
        margin?: number;
    }
    Index
    bbox: [minX: number, minY: number, maxX: number, maxY: number]

    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.

    size: number

    Positive integer CSS pixels of the image's long side; the image has the box's aspect ratio.

    pixelRatio?: number

    Output pixels per CSS pixel. Default: 1.

    margin?: number

    Non-negative integer CSS pixels of extra coverage, cropped from the output. Default: 0.