I'm new to Leaflet and mapping. I'm currently looking for solutions to how I can autogenerate a line pattern inside a polygon drawn on the map with a pre defined distance between each line.
Does anyone have any suggestion to how I can achieve this?
javascriptleafletpolygon
I'm new to Leaflet and mapping. I'm currently looking for solutions to how I can autogenerate a line pattern inside a polygon drawn on the map with a pre defined distance between each line.
Does anyone have any suggestion to how I can achieve this?
Best Answer
This Leaflet plugin lets you do exactly that:
Options include:
From the stripe pattern example: