Expose an event trigger function for maps