separate map init logic from redraw