• JMap.Map.getMaplibreSupportedJMapLayerIdAfter

    Returns the Map JS library supported JMap layer id that is ordered after the JMap layer id provided in argument.

    Parameters

    • layerId: JId

      The JMap layer id

    Returns JId | undefined

    the JMap layer id, or undefined if no layer after

    Throws

    Error if layer is not found

    Example

    // Returns the layer id that is located after layer id=3
    JMap.Map.getMaplibreSupportedJMapLayerIdAfter(3)