You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just replaced my polylines with hotlines.
the lines are used as edges in a network graph -> they connect circles.
unfortunately now the hotlines are drawn behind the circles.
I didn't have this issue with the regular polylines.
I tried circle.bringToBack() as well as hotline.bringToFront() - but both without success unfortunately.
did you encounter this problem before? how did you solve it?
The text was updated successfully, but these errors were encountered:
This is because the hotline layer is renderer with a custom canvas based renderer, which is always rendered below SVG based layers.
You could manually override the z-index of canvas elements to but it above the svg element, or you could create your own custom hotline renderer to place it on a pane above the overlayPane. This can be done by setting the pane option in L.Hotline.render().
Hope this helps...
hi,
I just replaced my polylines with hotlines.
the lines are used as edges in a network graph -> they connect circles.
unfortunately now the hotlines are drawn behind the circles.
I didn't have this issue with the regular polylines.
I tried circle.bringToBack() as well as hotline.bringToFront() - but both without success unfortunately.
did you encounter this problem before? how did you solve it?
The text was updated successfully, but these errors were encountered: