Load mapData from php.