add event listerner to map