• JMap.Application.Measure.setSelectionActive

    Activates or deactivates the measurement selection mode.

    If active, measures can be selected by clicking on the map (then changed or removed).

    Parameters

    • isSelectionActive: boolean

      true to activate selection mode, false to deactivate

    Returns void

    Example

    // activate selection of measures
    JMap.Application.Measure.setSelectionActive(true)

    // deactivate selection of measure
    JMap.Application.Measure.setSelectionActive(false)