GMSMarker の新しいプロパティ iconView に関するドキュメントによると:
実際の値に関係なく、ビューは clipsToBounds が YES に設定されているかのように動作します。
では、その clipsToBounds を NO に変更する方法はありませんか? アニメーションがビューの境界の外に出た場合、アニメーションはどのように機能するはずですか?
let marker = GMSMarker()
marker.title = "Stop 1"
marker.position = CLLocationCoordinate2DMake(-33.86, 151.20)
marker.map = mapView
let imageView = UIImageView(image: UIImage(named: "markerIcon"))
marker.iconView = imageView
let pulseEffect = LFTPulseAnimation(repeatCount: Float.infinity, radius:45, position:imageView.center)
marker.iconView.layer.insertSublayer(pulseEffect, below: imageView.layer)