I am creating a vector layer consisting of polygons from a KML file using Openlayers, and I need to apply a hash pattern (diagonal strip) to the polygons. I know that Openlayers does not support adding a background image to a polygon in a vector layer, but I am wondering if anyone has any ideas on how to do this? The styling of the vector polygon is apparently limited by solid colors and opacity. If necessary, I will extend OpenLayers to add this functionality by manually creating hash strings within the boundaries of the polygon, but I hope someone has a simpler sentence before I go down this road.
Theox source share