map class and popups