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

    Function bboxFromCoordsArray

    • The bounding box of an array of [longitude, latitude] positions, or undefined if empty.

      A very long array is sampled rather than scanned in full, which keeps the box close to exact.

      Parameters

      Returns OptionalBBox