diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2017-11-08 15:49:51 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2017-11-08 15:49:51 -0800 |
commit | c111f4cc3017ac26cd42287afff9692b1fe1f129 (patch) | |
tree | ac8df0d1bd533b15f7072e440847ca2d45fe8a18 | |
parent | b843765a05dad7a3e25e07312f008b5db68b42a6 (diff) | |
download | qtlocation-mapboxgl-upstream/jmkiley-smart-invert-warnings.tar.gz |
[ios] removed spacesupstream/jmkiley-smart-invert-warnings
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 415f109576..c002da5f18 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -448,7 +448,6 @@ public: _attributionButton = [UIButton buttonWithType:UIButtonTypeInfoLight]; _attributionButton.accessibilityLabel = NSLocalizedStringWithDefaultValue(@"INFO_A11Y_LABEL", nil, nil, @"About this map", @"Accessibility label"); _attributionButton.accessibilityHint = NSLocalizedStringWithDefaultValue(@"INFO_A11Y_HINT", nil, nil, @"Shows credits, a feedback form, and more", @"Accessibility hint"); - [_attributionButton addTarget:self action:@selector(showAttribution:) forControlEvents:UIControlEventTouchUpInside]; _attributionButton.translatesAutoresizingMaskIntoConstraints = NO; [self addSubview:_attributionButton]; @@ -1950,7 +1949,7 @@ public: - (CLLocationDegrees)angleBetweenPoints:(CGPoint)west east:(CGPoint)east { CGFloat slope = (west.y - east.y) / (west.x - east.x); - + CGFloat angle = atan(fabs(slope)); CLLocationDegrees degrees = MGLDegreesFromRadians(angle); |