Leaflet.StyleEditor icon indicating copy to clipboard operation
Leaflet.StyleEditor copied to clipboard

More colors for color pallet, adding selection of hatching pattern for polygon fill

Open osper66 opened this issue 3 years ago • 2 comments

Any plan to add these functions?

Or how can I add these functions to extend this plugin or modify its code?

Thanks for advance.

osper66 avatar Aug 31 '20 04:08 osper66

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.

fupduck avatar Sep 02 '20 07:09 fupduck

Thanks for your response.

For hatching polygon, how about using Leaflet.pattern plugin(https://github.com/teastman/Leaflet.pattern)?

osper66 avatar Sep 02 '20 16:09 osper66