Technically, you'd be able to do this by calling MapView.emit, and passing as close to an event object as you can. This could be problematic though, since simulating the "stopPropagation" function and the "native" property could present certain inconsistencies.
Probably the easiest approach would be something like this:
function simulateClick(mapView, mapPoint) {
var screenPoint = mapView.toScreen(mapPoint);
mapView.emit("click", {
mapPoint: mapPoint,
x: screenPoint.x,
y: screenPoint.y,
button: 0,
buttons: 0,
type: "click",
stopPropagation: function() { },
timestamp: Date.now(),
native: {}
});
}
As a disclaimer, I would never do this in practice, or recommend it either...I'm just answering the question as asked.