geostyler / geostyler-openlayers-parser

GeoStyler Style Parser implementation for OpenLayers styles
BSD 2-Clause "Simplified" License
38 stars 28 forks source link

How to modify and generate the styles fill pattern ? #228

Closed johnnylc closed 4 years ago

johnnylc commented 4 years ago

Question

I am using geostyler-openlayers-parser to render GeoJson in vector layer. In the GeoStyler's online demo, for the style kind: "Fill" there exist the option "Graphic Fill", but it will not work either in your online demo or my project. So how to modify the fill pattern of the style using geostyler-openlayers-parser?

image

jansule commented 4 years ago

In contrast to the geostyler-sld-parser, the geostyler-openlayers-parser does not yet support fill patterns. So fill pattern changes in the UI are not reflected in the openlayers style.

You are more than welcome to provide a PR that implements that feature.

johnnylc commented 4 years ago

Ok, thanks.