removed is_edge from map class