• JMap.Geometry.getBboxFromLine

    Returns the line boundary box.

    Parameters

    Returns JBoundaryBox

    Example

    const line = [[ 10, 12], [12, 23], [34, 12]]
    // The method will return the line boundary box
    const bbox = JMap.Geometry.getBboxFromLine(line)