fixed the map event issues and added info windows to the markers