I have a map with a wfs layer loaded from geoserver, the features are loaded using the bbox strategy because there are over 60,000 of them. I have a simple click function that bring ups information on each feature

```
map.on('click', function(evt) {
//random stuff to do here
  var pixel = evt.pixel;
  displayFeatureInfo(pixel); //function to get features and display the info
});

```

For my search bar I am using easyAutocomplete that searchs a json where each polygon has center coordinates. It finds the parcel, gets the lat and long and pans to it and zooms in just fine. 

```
onChooseEvent: function(evt) {
    var parcelValue=$("#name").getSelectedItemData().parcel;
    document.getElementById('name').value=parcelValue;
    var selectedItemCoordX = $("#name").getSelectedItemData().long;
    var selectedItemCoordY = $("#name").getSelectedItemData().lat;
    var valcoordx=parseFloat(selectedItemCoordX);
    var valcoordy=parseFloat(selectedItemCoordY);
    var coords=[valcoordx, valcoordy];
    var pixel = map.getPixelFromCoordinate(coords);
    map.getView().setCenter(ol.proj.transform(coords, 'EPSG:4326', 'EPSG:3857'));
    map.getView().setZoom(19);

  }

```

How is it possible to either use the grabbed coordinates or the pixel and once you select, fire a click on the map so that once you move there the click event is fired and the popup will display without the user having to manually do it?

I have tried .trigger("click") on the map, viewport and canvas, I have also tried the .click() and triggerEvent() functions as well, but none of these even produce an error. I have also tried `map.dispatchEvent("click");` and this produces this error `Uncaught TypeError: Cannot read property 'slice' of undefined`