Graphic and rectange must be passed every time, to display map.