Enhance addMarker by passing an array of events instead of just one