summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXViewController.m
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-04-09 17:00:45 -0400
committerJason Wray <jason@mapbox.com>2018-04-12 16:49:30 -0400
commitbe3fc4413ab2e553c7957721bc3a7a03d414cd64 (patch)
treeee21b2aab68800c5b8baf091d08246a3f141677c /platform/ios/app/MBXViewController.m
parent352d63d2ce98286cd854b11e85d66440501a6fd0 (diff)
downloadqtlocation-mapboxgl-be3fc4413ab2e553c7957721bc3a7a03d414cd64.tar.gz
[ios] Change MGLAnnotationView.scalesWithViewingDistance default value to NOupstream/fb-undefault-scalesWithViewingDistance
Diffstat (limited to 'platform/ios/app/MBXViewController.m')
-rw-r--r--platform/ios/app/MBXViewController.m6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index b871a459c9..07d684cd64 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -1810,12 +1810,6 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
// Comment out the pin dropping functionality in the handleLongPress:
// method in this class to make draggable annotation views play nice.
annotationView.draggable = YES;
-
- // Uncomment to force annotation view to maintain a constant size when
- // the map is tilted. By default, annotation views will shrink and grow
- // as they move towards and away from the horizon. Relatedly, annotations
- // backed by GL sprites currently ONLY scale with viewing distance.
- // annotationView.scalesWithViewingDistance = NO;
} else {
// orange indicates that the annotation view was reused
annotationView.backgroundColor = [UIColor orangeColor];