• JMap.Geometry.getBboxFromFeatures

    Returns the boundary box that contains all features

    Parameters

    • features: Feature<Geometry, GeoJsonProperties>[]

      array of features

    Returns JBoundaryBox

    Example

    const features = ...
    // returns the features bbox
    const distance = JMap.Geometry.getBboxFromFeatures(features)