is it possble to show map in lanscape mode?
A:
Yes.
The easiest way to accomplish it is to put your map view in a view controller that you then present in some way. Whatever orientations the view controller then supports will cause the hosted map view to rotate to automatically.
In your view controller you'd implement this method:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
}
That example handles both lanscape orientations. As long as your map view is set to autoresize correctly in your NIB file it should all just work.
Ashley Clark
2009-09-27 03:13:47