• JMap.Project.getInitialExtent

    Returns loaded JMap project initial extent. This is the extent that is automatically displayed when the project is opened. The extent is expressed in the project's CRS

    Returns JBounds | null

    Throws

    If no project is loaded

    Example

    // returns the project initial extent if exists
    JMap.Project.getInitialExtent()