Use callback fn to draw map