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?
This Leaflet plugin lets you do exactly that:
Leaflet.pattern
Provides the ability to use SVG patterns as backgrounds for Leaflet Paths.
Options include:
From the stripe pattern example: