creates hatched fill classes for svg polygons to be used with Leaflet
see in example.html
- include
leaflet-hatchclass.js - create hatch filled CSS classes using the
L.hatchClass()function - pass the resulting class names in the styling function to
classNameproperty of features
L.hatchClass(<Array>colors, <Number>strokeWidth, <Number>angle)
colors: array of CSS colors or array of { color, width } objects. Default:['black', 'white']strokeWidth: in pixels; defaults to 6angle: in degrees; defaults to 45