• JMap.Application.Geometry.selectLayer

    Selects the layer that will be used to create the geometry and the feature.

    Parameters

    • layerId: JId

      The JMap layer id

    Returns void

    Throws

    if layer not found

    Example

    // will select the layer id=3
    JMap.Application.Geometry.selectLayer(3)