map rotation support simulator and device

simulator’s compass not available, change to give a random map rotation
angle.