diff options
Diffstat (limited to 'platform/ios/Mapbox.playground/Contents.swift')
-rw-r--r-- | platform/ios/Mapbox.playground/Contents.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift index 14dba0cc4e..514cb10160 100644 --- a/platform/ios/Mapbox.playground/Contents.swift +++ b/platform/ios/Mapbox.playground/Contents.swift @@ -52,6 +52,7 @@ class MapDelegate: NSObject, MGLMapViewDelegate { if (annotationView == nil) { let av = PlaygroundAnnotationView(reuseIdentifier: "annotation") av.frame = CGRect(x: 0, y: 0, width: 30, height: 30) + av.centerOffset = CGVector(dx: -15, dy: -15) let centerView = UIView(frame: CGRectInset(av.bounds, 3, 3)) centerView.backgroundColor = UIColor.whiteColor() av.addSubview(centerView) |