Marker move According to Route MapBox
Clash Royale CLAN TAG #URR8PPP Marker move According to Route MapBox I have two annotations. There is an image on annotation. I want the image head toward route in MapBox. Here is what I have tried: func drawAnnoation (orgin :CLLocationCoordinate2D ,destination :CLLocationCoordinate2D){ if annotation == nil { annotation = CameraAnnotation(coordinate: orgin, title: "SOURCE", subtitle: "D", image:"selfImage" ) let source = orgin annotation.coordinate = source annotation.title = "ddd" map.setCenter(orgin, zoomLevel: 18, animated: false) map.addAnnotation(annotation) } else { UIView.animate(withDuration: 1.5, animations: { // Here Core Animation calls MapBox using an implicit animation. self.annotation.coordinate = orgin }) } if annotations == nil { let annotations = NoteAnnotation(coordinate: destin...