summaryrefslogtreecommitdiff
path: root/platform/ios/Mapbox.playground
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-07-02 18:41:11 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-07-02 18:41:11 -0700
commitf2fdc23ec7b39d1ee6c9e4b37ad4952e4a5f5447 (patch)
treebade627480750c3b775e44e1dcbd3313dfef2e07 /platform/ios/Mapbox.playground
parent1f026c624668298c5736a8ba4ef480de8bab425a (diff)
downloadqtlocation-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/Mapbox.playground')
-rw-r--r--platform/ios/Mapbox.playground/Contents.swift1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift
index ed48116da9..b1b11e5e34 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)