itowns
itowns copied to clipboard
Style properties and error (point.line without a point.color)
In a ColorLayer, when we set up a point.line without defining a point.color the point doesn't get pictured. Currently we need to add a point.color (any rgb combinaison) with a transparency of 0.
It should be expected to be able to define no color for a point if we just want a countour.
I also sugest that fill and stroke can be used for point, as a point is composed of an inside (fill) and a stroke.
In the case that we have a color layer composed with several feature type (polygons and point for instance) we might add a style.polygon style.point style.line etc with fill, stroke, width etc
Possible Cause/Fix/Solution
Il pourrait aussi être intéressant de pouvoir faire : config.style.stroke = coloringAlertsStroke;
au lieu de faire : config.style.stroke.color = coloringAlertsStrokeColor; config.style.stroke.width = coloringAlertsStrokeWidth;
Related to #1924