title: iOS Google Maps: drawing dashed line independently of the map scale
body: <p>When line is drawing with help of GMSStyleSpans the line dashes change their length according to the scale in GMSMapView.
  How to draw the line which dashes lengths will be independent of the google map scale?</p>
  <p>Here is the code I use to draw dashed line with GMSMapView (swift 5, GoogleMaps '5.1.0'):</p>
  <pre><code>let polyline = GMSPolyline(path: path)
          let styles = [
              GMSStrokeStyle.solidColor(.black),
              GMSStrokeStyle.solidColor(.clear)
          ]
          let scale = 1.0 / Double(mapView.projection.points(forMeters: 1, at: mapView.camera.target))
          polyline.spans = GMSStyleSpans(polyline.path!, styles, [NSNumber(value: 15.0 * scale),
                                                                  NSNumber(value: 10.0 * scale)], GMSLengthKind.rhumb)
          polyline.map = self.mapView
  </code></pre>
  <p>P.S. The simplest example of that I want to see is the equator line on the google map.</p>