diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-07-02 18:41:11 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-07-02 18:41:11 -0700 |
commit | f2fdc23ec7b39d1ee6c9e4b37ad4952e4a5f5447 (patch) | |
tree | bade627480750c3b775e44e1dcbd3313dfef2e07 /platform/ios/app | |
parent | 1f026c624668298c5736a8ba4ef480de8bab425a (diff) | |
download | qtlocation-mapboxgl-f2fdc23ec7b39d1ee6c9e4b37ad4952e4a5f5447.tar.gz |
[ios] Removed MGLAnnotationView.flat
Removed MGLAnnotationView’s option to lie flat against a tilted map to work around #5090.
Diffstat (limited to 'platform/ios/app')
-rw-r--r-- | platform/ios/app/MBXViewController.m | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index cd5694d835..ed312e87a2 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -589,10 +589,6 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie annotationView.frame = CGRectMake(0, 0, 10, 10); annotationView.centerColor = [UIColor whiteColor]; - // uncomment to flatten the annotation view against the map when the map is tilted - // this currently causes severe performance issues when more than 2k annotations are visible - // annotationView.flat = YES; - // uncomment to make the annotation view draggable // also note that having two long press gesture recognizers on overlapping views (`self.view` & `annotationView`) will cause weird behaviour // comment out the pin dropping functionality in the handleLongPress: method in this class to make draggable annotation views play nice |