|
@@ -1343,7 +1343,7 @@ |
|
@@ -1343,7 +1343,7 @@ |
1343
|
|
1343
|
|
1344
|
- (void)handleSingleTap:(UIGestureRecognizer *)recognizer
|
1344
|
- (void)handleSingleTap:(UIGestureRecognizer *)recognizer
|
1345
|
{
|
1345
|
{
|
1346
|
- CALayer *hit = [_overlayView.layer hitTest:[recognizer locationInView:self]];
|
1346
|
+ CALayer *hit = [_overlayView overlayHitTest:[recognizer locationInView:self]];
|
1347
|
|
1347
|
|
1348
|
if ( ! hit)
|
1348
|
if ( ! hit)
|
1349
|
{
|
1349
|
{
|
|
@@ -1393,7 +1393,7 @@ |
|
@@ -1393,7 +1393,7 @@ |
1393
|
|
1393
|
|
1394
|
- (void)handleDoubleTap:(UIGestureRecognizer *)recognizer
|
1394
|
- (void)handleDoubleTap:(UIGestureRecognizer *)recognizer
|
1395
|
{
|
1395
|
{
|
1396
|
- CALayer *hit = [_overlayView.layer hitTest:[recognizer locationInView:self]];
|
1396
|
+ CALayer *hit = [_overlayView overlayHitTest:[recognizer locationInView:self]];
|
1397
|
|
1397
|
|
1398
|
if ( ! hit)
|
1398
|
if ( ! hit)
|
1399
|
{
|
1399
|
{
|
|
@@ -1450,7 +1450,7 @@ |
|
@@ -1450,7 +1450,7 @@ |
1450
|
if ([recognizer isKindOfClass:[UIPanGestureRecognizer class]])
|
1450
|
if ([recognizer isKindOfClass:[UIPanGestureRecognizer class]])
|
1451
|
{
|
1451
|
{
|
1452
|
// check whether our custom pan gesture recognizer should start recognizing the gesture
|
1452
|
// check whether our custom pan gesture recognizer should start recognizing the gesture
|
1453
|
- CALayer *hit = [_overlayView.layer hitTest:[recognizer locationInView:_overlayView]];
|
1453
|
+ CALayer *hit = [_overlayView overlayHitTest:[recognizer locationInView:_overlayView]];
|
1454
|
|
1454
|
|
1455
|
if ([hit isEqual:_overlayView.layer])
|
1455
|
if ([hit isEqual:_overlayView.layer])
|
1456
|
return NO;
|
1456
|
return NO;
|
|
@@ -2789,6 +2789,7 @@ |
|
@@ -2789,6 +2789,7 @@ |
2789
|
accuracyCircleAnnotation.annotationType = kRMAccuracyCircleAnnotationTypeName;
|
2789
|
accuracyCircleAnnotation.annotationType = kRMAccuracyCircleAnnotationTypeName;
|
2790
|
accuracyCircleAnnotation.clusteringEnabled = NO;
|
2790
|
accuracyCircleAnnotation.clusteringEnabled = NO;
|
2791
|
accuracyCircleAnnotation.layer = [[RMCircle alloc] initWithView:self radiusInMeters:newLocation.horizontalAccuracy];
|
2791
|
accuracyCircleAnnotation.layer = [[RMCircle alloc] initWithView:self radiusInMeters:newLocation.horizontalAccuracy];
|
|
|
2792
|
+ accuracyCircleAnnotation.layer.zPosition = -MAXFLOAT;
|
2792
|
accuracyCircleAnnotation.isUserLocationAnnotation = YES;
|
2793
|
accuracyCircleAnnotation.isUserLocationAnnotation = YES;
|
2793
|
|
2794
|
|
2794
|
((RMCircle *)accuracyCircleAnnotation.layer).lineColor = [UIColor colorWithRed:0.378 green:0.552 blue:0.827 alpha:0.7];
|
2795
|
((RMCircle *)accuracyCircleAnnotation.layer).lineColor = [UIColor colorWithRed:0.378 green:0.552 blue:0.827 alpha:0.7];
|
|
@@ -2822,6 +2823,7 @@ |
|
@@ -2822,6 +2823,7 @@ |
2822
|
// create image marker
|
2823
|
// create image marker
|
2823
|
//
|
2824
|
//
|
2824
|
trackingHaloAnnotation.layer = [[RMMarker alloc] initWithUIImage:[UIImage imageNamed:@"TrackingDotHalo.png"]];
|
2825
|
trackingHaloAnnotation.layer = [[RMMarker alloc] initWithUIImage:[UIImage imageNamed:@"TrackingDotHalo.png"]];
|
|
|
2826
|
+ trackingHaloAnnotation.layer.zPosition = -MAXFLOAT + 1;
|
2825
|
trackingHaloAnnotation.isUserLocationAnnotation = YES;
|
2827
|
trackingHaloAnnotation.isUserLocationAnnotation = YES;
|
2826
|
|
2828
|
|
2827
|
[CATransaction begin];
|
2829
|
[CATransaction begin];
|