Rotate terrain map ID.