adding typed event on map