summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/ios/src/MGLMapView.mm8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 3dc06baabe..38f6d2ec65 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -3044,14 +3044,6 @@ std::chrono::steady_clock::duration MGLDurationInSeconds(float duration)
self.userLocation.location = newLocation;
}
- // deselect user if applicable since we don't do callout tracking yet
- if (self.selectedAnnotation == self.userLocation
- && (self.userTrackingMode == MGLUserTrackingModeNone
- || self.userTrackingState != MGLUserTrackingStateChanged))
- {
- [self deselectAnnotation:self.userLocation animated:NO];
- }
-
if ([self.delegate respondsToSelector:@selector(mapView:didUpdateUserLocation:)])
{
[self.delegate mapView:self didUpdateUserLocation:self.userLocation];