Leaflet.StyleEditor
Leaflet.StyleEditor copied to clipboard
More colors for color pallet, adding selection of hatching pattern for polygon fill
trafficstars
Any plan to add these functions?
Or how can I add these functions to extend this plugin or modify its code?
Thanks for advance.
Hey,
you can define the colors which are shown, with colorRamp
Currently there is no plan to add a hatching pattern. Leaflet does not support this out of the box right?
You could write your own formElement for this and add it to your form.
See the README at the bottom - if questions come up - shoot.
Thanks for your response.
For hatching polygon, how about using Leaflet.pattern plugin(https://github.com/teastman/Leaflet.pattern)?