the map is working and when a user double clicks an event, the details for it pop up