The line
Optional
params: JMapSelectionParamsselection parameters, see JMapSelectionParams
The new feature selection
Error if line format is not good
// 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 ]
])
JMap.Map.Selection.selectOnAllLayersFromLine
Select for all layers the features that intersect the line.