• JMap.Geometry.getBboxFromFeature

    Returns the feature geometry boundary box (JBoundaryBox).

    Parameters

    • feature: Feature<Geometry, GeoJsonProperties>

      A feature object

    Returns JBoundaryBox

    Example

    const feature = ...
    // The method will return the feature geometry boundary box
    const bbox = JMap.Geometry.getBboxFromFeature(feature)