Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Project

JMap.Application.Project

You can manage all things related to JMap NG Core project and JMap NG App here.

Index

Functions

activateById

  • JMap.Application.Project.activateById

    Activate the project for a given project id.

    If you use the JMap NG App, use this function instaed of JMap.Project.activateById.

    This function does the same as JMap.Project.activateById but also manages things for the application UI.

    throws

    if project id invalid or project not found

    example
    
    // activate project id=33
    JMap.Application.Project.activateById(33)

    Parameters

    • projectId: JId

      the JMap project id

    Returns JProject

    the project

setSelectionPanelVisibility

  • setSelectionPanelVisibility(isVisible: boolean): void
  • JMap.Application.Project.setSelectionPanelVisibility

    Displays or hides the project list selection panel.

    example
    
    // display the project list selection panel
    JMap.Application.Project.setSelectionPanelVisibility(true)

    Parameters

    • isVisible: boolean

    Returns void