map class