@ml2drender/wasm
    Preparing search index...

    Interface LngLatBox

    A longitude/latitude box in Web Mercator. The image has the box's aspect ratio, size on its long side, at the zoom that fits the box into it.

    interface LngLatBox {
        bbox: [west: number, south: number, east: number, north: number];
        size: number;
        pixelRatio?: number;
        margin?: number;
    }
    Index
    bbox: [west: number, south: number, east: number, north: number]

    Degrees; west > east crosses the antimeridian. Latitudes are clamped to Web Mercator's ±85.0511°.

    size: number

    Positive integer CSS pixels of the image's long side.

    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.