Added suppport for map events.