AnimatePolyline

The animate polyline like Uber for GoogleMaps.

AnimatePolyline

To run the example project, clone the repo, and run pod install from the Example directory first.

Replace your Google Maps key in AppDelegate.swift

GMSServices.provideAPIKey("YOUR_GOOGLE_MAPS_KEY")

Requirements

Installation

AnimatePolyline is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'AnimatePolyline'

Usage

  self.animatePolyline = AnimatePolyline(mapView: self.mapView)
  self.animatePolyline?.strokeColor = .black
  self.animatePolyline?.route = route
  self.animatePolyline?.startAnimation()

Author

goldmoment, [email protected]

GitHub