google 地图 SDK iOS 删除带动画的图钉

google maps SDK iOS remove pins with animation

是否有访问 GMSMarkers 添加到 GMSMapView 的方法?默认 .clean() 方法没有移除对象的动画,我想添加一些。或者我应该覆盖 clean()?

所以我通过将 GMSMarkers 存储在数组中然后对其进行操作来解决我的问题。