[map.ios] bug fixes on iPad; refactoring;