-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Does
powsybl-network-viewer/src/components/network-map-viewer/network/line-layer.ts
Lines 56 to 57 in 6d46eb0
const noDashArray = [0, 0] as const; | |
const dashArray = [15, 10] as const; |
need to be changed to:
const noDashArray = ["literal", [0, 0]] as const;
const dashArray = ["literal", [15, 10]] as const;
I get this error when using the NetworkMap
component:
Error: layers.gl-draw-lines.hot.paint.line-dasharray[2][0]: Expression name must be a string, but found number instead. If you wanted a literal array, use ["literal", [...]].
Metadata
Metadata
Assignees
Labels
No labels