title: Polyline with gradient across width in iOS Google Maps SDK
body: <p>I have iOS app with the Google Maps SDK integrated.
  My route has default style and I'm able to change the color to be gradient in <code>length</code> via <code>spans</code>.</p>
  
  <p>Is it possible to update polyline color and define gradient in <code>width</code> instead (like original Google Maps app has)?:</p>
  
  <p><img src="https://i.stack.imgur.com/JzZGl.png" alt="enter image description here"></p>
  
  <p>UPDATE:
  I have added limited version by using two identical polylines with different styles but I'm definitely looking for a better solution:
  <img src="https://i.stack.imgur.com/fR4SX.png" alt="enter image description here"></p>
  
  <p>I followed the <a href="https://developers.google.com/maps/documentation/ios/shapes" rel="nofollow noreferrer">official documentation</a> and didn't find any references of that.</p>