draw map and object