add map view controller and fix baseLayer redraw