• JMap.Project.getMaximumExtent

    Returns loaded JMap project maximum extent. This is the extent to which the map will be constrained. The extent is expressed in the project's CRS

    Returns JBounds | null

    Throws

    If no project is loaded

    Example

    // returns the project maximum extent if exists
    JMap.Project.getMaximumExtent()