refactor baidu map init