[ios] Don't disable user tracking when selecting an annotation

This commit is contained in:
Jason Wray
2017-09-29 12:14:05 -04:00
parent cef386ca47
commit 201b7d4811
2 changed files with 1 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
* Fixed several bugs and performance issues related to the use of annotations backed by `MGLAnnotationImage`. The limits on the number and size of images and glyphs has been effectively eliminated and should now depend on hardware constraints. These fixes also apply to images used to represent icons in `MGLSymbolStyleLayer`. ([#9213](https://github.com/mapbox/mapbox-gl-native/pull/9213))
* Increased the default maximum zoom level from 20 to 22. ([#9835](https://github.com/mapbox/mapbox-gl-native/pull/9835))
* Added an `overlays` property to `MGLMapView`. ([#8617](https://github.com/mapbox/mapbox-gl-native/pull/8617))
* Selecting an annotation no longer sets the user tracking mode to `MGLUserTrackingModeNone`. ([#10094](https://github.com/mapbox/mapbox-gl-native/pull/10094))
### Other changes

View File

@@ -3943,11 +3943,6 @@ public:
if (annotation == self.selectedAnnotation) return;
if (annotation != self.userLocation)
{
self.userTrackingMode = MGLUserTrackingModeNone;
}
[self deselectAnnotation:self.selectedAnnotation animated:NO];
// Add the annotation to the map if it hasn’t been added yet.