title: Swift 3 draw a polyline with Google Maps during run
body: <p>I have found the below for drawing a path during a run/walk with Apple Maps</p>
  
  <pre><code>extension NewRunViewController: MKMapViewDelegate {
    func mapView(mapView: MKMapView!, rendererForOverlay overlay: MKOverlay!) -&gt; MKOverlayRenderer! {
      if !overlay.isKindOfClass(MKPolyline) {
        return nil
      }
  
      let polyline = overlay as! MKPolyline
      let renderer = MKPolylineRenderer(polyline: polyline)
      renderer.strokeColor = UIColor.blueColor()
      renderer.lineWidth = 3
      return renderer
    }
  }
  </code></pre>
  
  <p>However I am trying to do it with Google Maps and can't find the solution.
  Lots and lots of answers are for Apple Maps, but not much on Google Maps.</p>