title: Leaflet - problem with syntax with plugin to fill geojson polygon with png pattern
body: <p>I'm using this plugin <a href="https://github.com/lwsu/leaflet-polygon-fillPattern" rel="nofollow noreferrer">https://github.com/lwsu/leaflet-polygon-fillPattern</a> to fill my geojson polygons with .png pattern. </p>
  
  <p>It works great when I use the basic syntax, i.e :</p>
  
  <pre><code>L.polygon(poly1, {fill:'url(image.gif)'}).addTo(map);
  </code></pre>
  
  <p>But I'd like to grab value from geojson properties to change the fill pattern. </p>
  
  <p>so far, i'm using this syntax where pattern value is stored in </p>
  
  <blockquote>
    <p>feature.properties.PolygonFill</p>
  </blockquote>
  
  <p>I tied this syntax : </p>
  
  <pre><code>L.polygon(poly1, {
  fill:'url('+feature.properties.PolygonFill+')'
  }).addTo(map);
  </code></pre>
  
  <p>But returned value is null and no image is displayed. </p>
  
  <p>Any idea of what is wrong ? </p>