The JMap layer id
The circle
Optional
params: JMapSelectionParamsselection parameters, see JMapSelectionParams
The features array
Error if layer is not found or if circle format is not good
// Process a selection on the map for layer id=4,
// selecting features intersecting the circle
JMap.Map.Selection.selectOnOneLayerFromCircle(
4, //layer id
{
center: { x: 34.23, y: 55.5 },
radius: 100
}
)
JMap.Map.Selection.selectOnOneLayerFromCircle
Select for specific layer its features that intersect the circle.