I am using GMaps SDK for Swift and my goal is to replace standard marker with animated type like pulsating effect. I tried to play with layer but no luck. Any suggestions how can I add animation effects on my marker image?
let parkingSpotsPosition = CLLocationCoordinate2D(latitude: self.SpotLocationLatitudes.last!, longitude: self.SpotLocationLongitudes.last!)
let marker = GMSMarker(position: parkingSpotsPosition)
marker.title = self.SpotNames.last
//marker.icon = GMSMarker.markerImageWithColor(UIColor.greenColor())
marker.icon = UIImage(named: "parking-location")
marker.map = self.gMapsView