[FIX] Support map rotation with centerOffset.
[CLEANUP] Removed test code.