• JMap.Application.Selection.clearSelectionForLayer

    Unselects all features for a given layer id.

    Parameters

    • layerId: JId

      the JMap layer id

    Returns void

    Example

    // clear the layer id=2 selection
    JMap.Application.Selection.clearSelectionForLayer(2)