...
|
...
|
@@ -27,6 +27,7 @@ |
|
|
|
|
|
#import "RMMapLayer.h"
|
|
|
#import "RMPixel.h"
|
|
|
#import "RMAnnotation.h"
|
|
|
|
|
|
@implementation RMMapLayer
|
|
|
|
...
|
...
|
@@ -34,7 +35,7 @@ |
|
|
@synthesize projectedLocation;
|
|
|
@synthesize draggingEnabled;
|
|
|
@synthesize userInfo;
|
|
|
@synthesize canShowCallout;
|
|
|
@synthesize canShowCallout=_canShowCallout;
|
|
|
@synthesize calloutOffset;
|
|
|
@synthesize leftCalloutAccessoryView;
|
|
|
@synthesize rightCalloutAccessoryView;
|
...
|
...
|
@@ -70,6 +71,12 @@ |
|
|
[super dealloc];
|
|
|
}
|
|
|
|
|
|
- (void)setCanShowCallout:(BOOL)canShowCallout
|
|
|
{
|
|
|
if ( ! self.annotation.isClusterAnnotation)
|
|
|
_canShowCallout = canShowCallout;
|
|
|
}
|
|
|
|
|
|
- (void)setPosition:(CGPoint)position animated:(BOOL)animated
|
|
|
{
|
|
|
[self setPosition:position];
|
...
|
...
|
|