correctly display graph edge colors
@@ -483,12 +483,12 @@ editor = {
style.weight = 3;
style.color = '#ffff00';
}
- if (feature.geometry.type === 'LineString') {
- style = editor._line_draw_geometry_style(style);
- }
if (feature.properties.color !== undefined) {
style.fillColor = feature.properties.color;
}
+ if (feature.geometry.type === 'LineString') {
+ style = editor._line_draw_geometry_style(style);
+ }
if (feature.properties.opacity !== undefined) {
style.fillOpacity = feature.properties.opacity;
}
