relocate building, add map drawline function