Authored by Justin R. Miller

Merge commit '1d60c034' into develop

... ... @@ -157,6 +157,6 @@
#pragma mark -
// Used internally
@property (nonatomic, strong) RMMapView *mapView;
@property (nonatomic, weak) RMMapView *mapView;
@end
... ...
... ... @@ -41,7 +41,7 @@
@implementation RMMapTiledLayerView
{
RMMapView *_mapView;
__weak RMMapView *_mapView;
id <RMTileSource> _tileSource;
}
... ...
... ... @@ -131,8 +131,6 @@
@implementation RMMapView
{
id <RMMapViewDelegate> _delegate;
BOOL _delegateHasBeforeMapMove;
BOOL _delegateHasAfterMapMove;
BOOL _delegateHasBeforeMapZoom;
... ... @@ -197,7 +195,7 @@
RMUserTrackingBarButtonItem *_userTrackingBarButtonItem;
UIViewController *_viewControllerPresentingAttribution;
__weak UIViewController *_viewControllerPresentingAttribution;
UIButton *_attributionButton;
UIPopoverController *_attributionPopover;
... ... @@ -655,11 +653,6 @@
#pragma mark -
#pragma mark Delegate
- (id <RMMapViewDelegate>)delegate
{
return _delegate;
}
- (void)setDelegate:(id <RMMapViewDelegate>)aDelegate
{
if (_delegate == aDelegate)
... ...
... ... @@ -70,7 +70,7 @@
NSMutableArray *_annotations;
RMQuadTreeNode *_parentNode, *_northWest, *_northEast, *_southWest, *_southEast;
RMQuadTreeNodeType _nodeType;
RMMapView *_mapView;
__weak RMMapView *_mapView;
RMAnnotation *_cachedClusterAnnotation;
NSArray *_cachedClusterEnclosedAnnotations;
... ... @@ -596,7 +596,7 @@
@implementation RMQuadTree
{
RMQuadTreeNode *_rootNode;
RMMapView *_mapView;
__weak RMMapView *_mapView;
}
- (id)initWithMapView:(RMMapView *)aMapView
... ...