The location where you want feature selection
Optional
params: JMapSelectionParamsselection parameters, see JMapSelectionParams
The new feature selection
Error if location format is not good
// Process a selection on the map for all layers, at the location in params
JMap.Map.Selection.selectOnAllLayersAtLocation({ x: 34.23, y: 55.5 })
JMap.Map.Selection.selectOnAllLayersAtLocation
Select for all layers the features that are at the location.
Same behavior as if you were clicking on the map in order to select features.