Authored by Justin R. Miller

fixes #458: fix scroll/overlay view constraints

... ... @@ -1345,6 +1345,7 @@
_mapScrollView.maximumZoomScale = exp2f([self maxZoom]);
_mapScrollView.contentOffset = CGPointMake(0.0, 0.0);
_mapScrollView.clipsToBounds = NO;
_mapScrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
_tiledLayersSuperview = [[UIView alloc] initWithFrame:CGRectMake(0.0, 0.0, contentSize.width, contentSize.height)];
_tiledLayersSuperview.userInteractionEnabled = NO;
... ... @@ -1378,6 +1379,7 @@
_overlayView = [[RMMapOverlayView alloc] initWithFrame:[self bounds]];
_overlayView.userInteractionEnabled = NO;
_overlayView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self insertSubview:_overlayView aboveSubview:_mapScrollView];
... ...