diff options
Diffstat (limited to 'platform/ios/Mapbox.playground/Contents.swift')
-rw-r--r-- | platform/ios/Mapbox.playground/Contents.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift index 8f4c574fc1..b1150a25b3 100644 --- a/platform/ios/Mapbox.playground/Contents.swift +++ b/platform/ios/Mapbox.playground/Contents.swift @@ -118,7 +118,7 @@ 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 + av.freeAxes = .X; let centerView = UIView(frame: CGRectInset(av.bounds, 3, 3)) centerView.backgroundColor = UIColor.whiteColor() av.addSubview(centerView) |