• JMap.Map.Selection.selectOnAllLayersFromLine

    Select for all layers the features that intersect the line.

    Parameters

    Returns JMapSelection

    The new feature selection

    Throws

    Error if line format is not good

    Example

    // Process a selection on the map for all layers,
    // select all features that intersect the line
    JMap.Map.Selection.selectOnAllLayersFromLine([
    [ 34.23, 55.5 ],
    [ 36.24, 14.9 ],
    [ 45.23, 25.2 ]
    ])