fixes #67: move some common defaults into initializer
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -237,6 +237,9 @@ | @@ -237,6 +237,9 @@ | ||
237 | [self setTileSource:newTilesource]; | 237 | [self setTileSource:newTilesource]; |
238 | [self setCenterCoordinate:initialCenterCoordinate animated:NO]; | 238 | [self setCenterCoordinate:initialCenterCoordinate animated:NO]; |
239 | 239 | ||
240 | + _decelerationMode = RMMapDecelerationFast; | ||
241 | + _boundingMask = RMMapMinHeightBound; | ||
242 | + | ||
240 | [[NSNotificationCenter defaultCenter] addObserver:self | 243 | [[NSNotificationCenter defaultCenter] addObserver:self |
241 | selector:@selector(handleMemoryWarningNotification:) | 244 | selector:@selector(handleMemoryWarningNotification:) |
242 | name:UIApplicationDidReceiveMemoryWarningNotification | 245 | name:UIApplicationDidReceiveMemoryWarningNotification |
-
Please register or login to post a comment