Generates a hatch pattern as an ImageData object for MapLibre.
ImageData
Hatch configuration from the GeoLeaf style.
Device pixel ratio for sharp rendering.
{ imageData, width, height, pixelRatio } ready for map.addImage().
{ imageData, width, height, pixelRatio }
map.addImage()
2 Copy
2
Generates a hatch pattern as an
ImageDataobject for MapLibre.