This is the documentation of version 1.0.0-rc.4. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias BBox

    BBox: [number, number, number, number]

    A geographic bounding box as an array of four numbers: [west, south, east, north].

    A box whose west edge lies east of its east edge, west > east, crosses the antimeridian, as in RFC 7946 ยง5.2: [176.8, -21, -178.2, -12.5] covers Fiji. The services return that form, and every bbox utility reads and returns it.

    MapLibre's fitBounds and the map's bounds option read it as is. Elsewhere in MapLibre, add 360 to east, as LngLatBounds.adjustAntiMeridian() does.