title: How to use custom icon for polyline?
body: <p>Simple question that I couldn't find an answer to.</p>
  
  <p>So lets say my image(icon) is in a local path: 'images/icon1.png'
  How do I use it as an icon to display along the path of a polyline ?</p>
  
  <p>This is one example of my polyline:</p>
  
  <pre><code>icon_setting = {
      path: google.maps.SymbolPath.FORWARD_OPEN_ARROW,
      strokeOpacity: 1,
      scale:1.4,
  
  }; 
  
  green_polyline = new google.maps.Polyline({
      path: path_array,
      icons: [{
          icon: icon_setting,
          offset: '0',
          repeat: '100px'
      }],
      strokeColor: '#00FF00',
      strokeOpacity: 0.3,
      strokeWeight: 4,
  });
  </code></pre>
  
  <p>I tried to find a way to give "path:" the local icon path but couldn't do it. There is a way to use custom icons for markers but I couldn't adapt this way to use with polyline.</p>
  
  <p>Also worth mentioning I'm quite new to js and the maps-api so bare that in mind.</p>
  
  <p>Thanks for your help, every answer is appreciated.</p>