【问题标题】:google maps SDK iOS remove pins with animation谷歌地图 SDK iOS 删除带有动画的图钉
【发布时间】:2016-11-07 16:17:40
【问题描述】:

有没有办法访问添加到GMSMapViewGMSMarkers?默认.clean() 方法没有删除对象的动画,我想添加一些。还是应该覆盖clean()

【问题讨论】:

  • 你想访问标记做什么?
  • 类似marker.iconView!.transform = CGAffineTransform(scaleX: 0,y: 0)marker.map = nilmapView.removeMarker...
  • 好的,那么您需要访问特定的标记以及何时访问?

标签: ios swift google-maps-sdk-ios


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多