itowns icon indicating copy to clipboard operation
itowns copied to clipboard

Style properties and error (point.line without a point.color)

Open ftoromanoff opened this issue 2 years ago • 1 comments

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

ftoromanoff avatar Nov 16 '21 15:11 ftoromanoff

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;

ftoromanoff avatar Mar 15 '22 16:03 ftoromanoff

Related to #1924

jailln avatar Oct 14 '22 12:10 jailln