How to get animated polyline route in GMSMapView, so that it move along with map when map is moved?
SWIFT Declartion var polyline = GMSPolyline() var animationPolyline = GMSPolyline() var path = GMSPath() var animationPath = GMSMutablePath() var i: UInt = 0 var timer: Timer! To Darw Route func drawRoute(routeDict: Dictionary<String, Any>) { let routesArray = routeDict [“routes”] as! NSArray if (routesArray.count > 0) { let routeDict = routesArray[0] as! Dictionary<String, Any> let routeOverviewPolyline … Read more