IssueID #28: fix the undefined value of map base url when app firstly starts