• JMap.Layer.ensureLayerIsVisible

    Make sure a layer is visible on the Map. All parent layers will also be made visible

    Parameters

    • layerId: JId

      The JMap layer id

    Returns void

    Example

    // show layer id=5 (and all parent layers)
    JMap.Layer.ensureLayerIsVisible(5)