From f2fdc23ec7b39d1ee6c9e4b37ad4952e4a5f5447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sat, 2 Jul 2016 18:41:11 -0700 Subject: [PATCH] [ios] Removed MGLAnnotationView.flat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed MGLAnnotationView’s option to lie flat against a tilted map to work around #5090. --- platform/ios/Mapbox.playground/Contents.swift | 1 - platform/ios/app/MBXViewController.m | 4 ---- platform/ios/src/MGLAnnotationView.h | 15 --------------- platform/ios/src/MGLAnnotationView.mm | 13 +------------ 4 files changed, 1 insertion(+), 32 deletions(-) diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift index ed48116da9d..b1b11e5e347 100644 --- a/platform/ios/Mapbox.playground/Contents.swift +++ b/platform/ios/Mapbox.playground/Contents.swift @@ -75,7 +75,6 @@ class MapDelegate: NSObject, MGLMapViewDelegate { let av = PlaygroundAnnotationView(reuseIdentifier: "annotation") av.frame = CGRect(x: 0, y: 0, width: 30, height: 30) av.centerOffset = CGVector(dx: -15, dy: -15) - av.flat = true let centerView = UIView(frame: CGRectInset(av.bounds, 3, 3)) centerView.backgroundColor = UIColor.whiteColor() av.addSubview(centerView) diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index cd5694d835a..ed312e87a23 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -589,10 +589,6 @@ - (MGLAnnotationView *)mapView:(MGLMapView *)mapView viewForAnnotation:(id