• JMap.Map.Selection.clearLayersSelection

    Clear selection for all specified layers.

    Parameters

    • layerIds: JId[]

      The JMap layer ids passed as an array

    Returns void

    Throws

    Error if a layer id is provided but not found

    Example

    // Clear selection of layer 4, 5 and 6
    JMap.Map.Selection.clearLayersSelection([4, 5, 6])