support for offline map packs in iOS5 + iO6, cleaned code