如何将animation应用到GMSMarker

我正在改变我的应用程序通过使用谷歌地图SDK的iOS V1.1.0 iOS地图迁移到谷歌地图,我试图在添加/删除标记的animation,但我没有find任何build议在这方面的文档,请build议我如何在GMSMarkers上执行animation

在GMSMarker类参考中 ,它表示,对于出现的appearAnimation属性:

控制将此标记放置在GMSMapView上时使用的animation(默认kGMSMarkerAnimationNone ,无animation)。

使用适用于iOS的Google Maps SDK ,标记可以如下所示:

 GMSMarker *startMarker = [GMSMarker markerWithPosition:@"NYC"]; startMarker.appearAnimation = kGMSMarkerAnimationPop; startMarker.title = @"Start"; startMarker.snippet = @"My address"; startMarker.map = mapView;