Leaflet.pattern
Leaflet.pattern copied to clipboard
Plugin for leaflet that allows for use of fill patterns in Paths.
When using vector tiles and filling them with stripes set to an angle such as 45, or anything which isn't either vertical or horizontal, the boundaries of each tile appear...
I understand this is a no longer supported package, however, this might be helpful to others still using this package. In #23 the source was updated to prevent deprecation warnings...
Hey there, as far as I know, it is only possible to set only one pattern of a layer containing various features, but I'm looking for a way to have...
Is there a way to achieve it? var shape = new L.PatternPath({ d: 'M10 0 L7 20 L25 20 Z', fill: true }); The API is straightforward and says 'No'....
When the renderer is forced to use Casvas instead of SVG, the L.StripePattern doesnt work any more.
Any chance publishing this to npmjs?
Bumps [uglify-js](https://github.com/mishoo/UglifyJS2) from 2.3.6 to 3.7.7. Release notes *Sourced from [uglify-js's releases](https://github.com/mishoo/UglifyJS2/releases).* > ## v3.7.7 > > > ## v3.7.6 > > > ## v3.7.5 > >...
Hi, How can I add L.StripePattern as a legend item? Thanks.
With [`L_PREFER_CANVAS = true;`](http://leafletjs.com/reference.html#global-l_prefer_canvas) the `_path` property doesn't exist on shapes like `L.Circle`, so `L.Path._updatePath()` throws an exception (invoked in `L.Path.onAdd()`).