The JMap layer id
The location where you want feature selection
Optional
params: JMapSelectionParamsselection parameters, see JMapSelectionParams
The features array
Error if layer is not found or location format is not good
// Process a selection on the map for layer id=4, at the location in params
JMap.Map.Selection.selectOnOneLayerAtLocation(4, { x: 34.23, y: 55.5 })
JMap.Map.Selection.selectOnOneLayerAtLocation
Select for specific layer its features that are at the location.
Same behavior as if you were clicking on the map in order to select features, but for only one layer.