• JMap.Application.Selection.setDisplayedLayerId

    Displays the selection of the layer.

    If layer selection has no selection, hides the layer selection list.

    Parameters

    Returns void

    Throws

    if layer not found for the given layer id

    Example

    // display the layer id=2 selection
    JMap.Application.Selection.setDisplayedLayerId(2)