You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing zoom it's changed with anchor point in the left top angle of frame. I don't know if it's done accidentially, but for me it seems more logical, that the map should zoom near it's center. It can be done with one change in one line of code. The RMMapContents.m file. The -(void) setMetersPerPixel: (float) newMPP method. Line number 826 (at least in the code I have). Instead of CGPoint pivot = CGPointZero; should be CGPoint pivot = CGPointMake(layer.frame.size.width/2.0, layer.frame.size.height/2.0);
The text was updated successfully, but these errors were encountered:
When changing zoom it's changed with anchor point in the left top angle of frame. I don't know if it's done accidentially, but for me it seems more logical, that the map should zoom near it's center. It can be done with one change in one line of code. The RMMapContents.m file. The
-(void) setMetersPerPixel: (float) newMPP
method. Line number 826 (at least in the code I have). Instead ofCGPoint pivot = CGPointZero;
should beCGPoint pivot = CGPointMake(layer.frame.size.width/2.0, layer.frame.size.height/2.0);
The text was updated successfully, but these errors were encountered: