Skip to content

Commit

Permalink
revert ivar rename for upstream merge ease
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Nov 2, 2012
1 parent 1ee61cd commit be69e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MapView/Map/RMMapView.m
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ @implementation RMMapView
@synthesize quadTree = _quadTree;
@synthesize enableClustering = _enableClustering;
@synthesize positionClusterMarkersAtTheGravityCenter = _positionClusterMarkersAtTheGravityCenter;
@synthesize orderClusterMarkersAboveOthers = _orderClusterMarkersOnTop;
@synthesize orderClusterMarkersAboveOthers = _orderClusterMarkersAboveOthers;
@synthesize clusterMarkerSize = _clusterMarkerSize, clusterAreaSize = _clusterAreaSize;
@synthesize adjustTilesForRetinaDisplay = _adjustTilesForRetinaDisplay;
@synthesize userLocation = _userLocation;
Expand Down Expand Up @@ -2614,10 +2614,10 @@ - (void)correctPositionOfAllAnnotationsIncludingInvisibles:(BOOL)correctAllAnnot
RMAnnotation *annotation2 = (RMAnnotation *)obj2;

if ( [annotation1.annotationType isEqualToString:kRMClusterAnnotationTypeName] && ! [annotation2.annotationType isEqualToString:kRMClusterAnnotationTypeName])
return (_orderClusterMarkersOnTop ? NSOrderedDescending : NSOrderedAscending);
return (_orderClusterMarkersAboveOthers ? NSOrderedDescending : NSOrderedAscending);

if ( ! [annotation1.annotationType isEqualToString:kRMClusterAnnotationTypeName] && [annotation2.annotationType isEqualToString:kRMClusterAnnotationTypeName])
return (_orderClusterMarkersOnTop ? NSOrderedAscending : NSOrderedDescending);
return (_orderClusterMarkersAboveOthers ? NSOrderedAscending : NSOrderedDescending);

CGPoint obj1Point = [self convertPoint:annotation1.position fromView:_overlayView];
CGPoint obj2Point = [self convertPoint:annotation2.position fromView:_overlayView];
Expand Down

0 comments on commit be69e00

Please sign in to comment.