• JMap.Application.Measure.deleteAllLines

    Deletes all measures having type === "line_string".

    Returns deleted measure count.

    Returns number

    Example

    // delete all line measures (if exist)
    const deletedMeasuresCount = JMap.Application.Measure.deleteAllLines()