Fix crash & compiler warnings, enable rotation on RMMarker.
Showing
4 changed files
with
4 additions
and
3 deletions
@@ -597,7 +597,7 @@ | @@ -597,7 +597,7 @@ | ||
597 | } | 597 | } |
598 | } | 598 | } |
599 | 599 | ||
600 | -- (void)setRotation:(float)angle | 600 | +- (void)setRotation:(CGFloat)angle |
601 | { | 601 | { |
602 | if (_delegateHasBeforeMapRotate) [delegate beforeMapRotate: self fromAngle: rotation]; | 602 | if (_delegateHasBeforeMapRotate) [delegate beforeMapRotate: self fromAngle: rotation]; |
603 | 603 |
@@ -54,7 +54,7 @@ | @@ -54,7 +54,7 @@ | ||
54 | textForegroundColor = [UIColor blackColor]; | 54 | textForegroundColor = [UIColor blackColor]; |
55 | textBackgroundColor = [UIColor clearColor]; | 55 | textBackgroundColor = [UIColor clearColor]; |
56 | enableDragging = YES; | 56 | enableDragging = YES; |
57 | - enableRotation = NO; | 57 | + enableRotation = YES; |
58 | } | 58 | } |
59 | return self; | 59 | return self; |
60 | } | 60 | } |
-
Please register or login to post a comment