Update the user dot when the user moves

Rolled back part of ed04e6d9f7 for #1852.

Fixes #1933.
This commit is contained in:
Minh Nguyễn
2015-07-27 13:26:35 -07:00
parent 5e2f3b1323
commit 3a310c916b

View File

@@ -2379,6 +2379,8 @@ CLLocationCoordinate2D MGLLocationCoordinate2DFromLatLng(mbgl::LatLng latLng)
self.userLocationAnnotationView.haloLayer.hidden = ! CLLocationCoordinate2DIsValid(self.userLocation.coordinate) ||
newLocation.horizontalAccuracy > 10;
[self updateUserLocationAnnotationView];
}
- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager