The PR #2135 moves 2 functions aiming at drawing Polygon into Canevas based on style, from Feature2Texture.js.to Style.js.
The function Feature2Texture.strokeStyle() changed as Style.drawPolygon() draws polygon edges using the style.
Proposal:
Currently to draw polygon edges into canevas, only color and width are supported.
The possibility to use a defined pattern using an image still need to be implemented.
Context:
The PR #2135 moves 2 functions aiming at drawing Polygon into Canevas based on style, from Feature2Texture.js.to Style.js. The function Feature2Texture.strokeStyle() changed as Style.drawPolygon() draws polygon edges using the style.
Proposal:
Currently to draw polygon edges into canevas, only color and width are supported. The possibility to use a defined pattern using an image still need to be implemented.