Route-me Right Side Map Missing with iOS 5 not with iOS 4.2 #153

Closed
piyr9 opened this Issue Nov 16, 2011 · 1 comment

Projects

None yet

1 participant

@piyr9
piyr9 commented Nov 16, 2011

When I run route-me with iOS 5 on both Simulator or the iPad I get a different result with iOS 4.2 and 5.0. I have written up a stackoverflow question here: http://stackoverflow.com/questions/8131369/objective-c-route-me-code-behaves-differently-in-ipad-simulator-4-2-and-5

How to reproduce:

Set Xcode 4.2 to iPad 5.0 Simulator (iOS 5), start a new project and add fresh copy of route-me. Then add the code below

[self setMapView:[[RMMapView alloc] init]];
[mapView setFrame:CGRectMake(0, 0, 1024, 768)];
[mapView setBackgroundColor:[UIColor grayColor]];
[mapView.contents setZoom:4.5];
self.view = mapView;

set orientation to landscape only mode

Seems like the right side of the map is cut off whenever I add the line [mapView.contents setZoom:4.5] or any other line trying to modify the mapView contents. Any idea what is causing this?

piyr9 commented Nov 17, 2011

I have figured it out solution written in stackoverflow page.

@piyr9 piyr9 closed this Nov 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment