correctly display graph edge colors
This commit is contained in:
parent
c7b4b161bb
commit
3acd212369
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue