IOS Google Maps SDK new icon View animations

According to the documentation about the new value of the GMSMarker icon property:

The view behaves as if clipToBounds is set to YES, regardless of its actual value

So, is there no way to change this clip to "No"? How should animations work if they go beyond the scope of the review?

Animation example

    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)
+4
source share

All Articles