correctly display graph edge colors

This commit is contained in:
Laura Klünder 2017-07-27 19:03:21 +02:00
parent c7b4b161bb
commit 3acd212369

View file

@ -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;
}