aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2018-09-25 22:35:26 -0400
committerJulian Rex <julian.rex@mapbox.com>2018-10-06 00:58:40 -0400
commit1503156ba70273a5d0591fe21f93e9bd605aa814 (patch)
treeb9d8e82440032ec5a3560f60ebf7656116f73031
parent5bfe397a176cd72e80296b3bc24b5af654b8e987 (diff)
Removed unused method.
-rw-r--r--platform/ios/src/MGLMapView.mm8
1 files changed, 1 insertions, 7 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index b68b0f435..7fb47a640 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -4325,12 +4325,6 @@ public:
});
}
-
-- (BOOL)isBringingAnnotationOnscreenSupportedForAnnotation:(id<MGLAnnotation>)annotation animated:(BOOL)animated {
- // Consider delegating
- return animated && [annotation isKindOfClass:[MGLPointAnnotation class]];
-}
-
- (id <MGLAnnotation>)selectedAnnotation
{
if (_userLocationAnnotationIsSelected)
@@ -4433,7 +4427,7 @@ public:
CGRect expandedPositioningRect = UIEdgeInsetsInsetRect(calloutPositioningRect, MGLMapViewOffscreenAnnotationPadding);
// Used for callout positioning, and moving offscreen annotations onscreen.
- CGRect constrainedRect = UIEdgeInsetsInsetRect(self.bounds, self.contentInset);
+ CGRect constrainedRect = self.contentFrame;
UIView <MGLCalloutView> *calloutView = nil;