JMRI
JMRI copied to clipboard
Web panel ignoring element "level"
When adding "shapes" to a panel, the user can specify a "level" for the shape, to control overlapping "shapes". This level is currently ignored by the web panel code. This issue is to correct this. Options:
- sort the "shapes" on the server side before adding them to the returned xml. This sorting will allow the client to continue to draw efficiently as each element is processed in the xml.
- change the canvas handling to create a canvas for each level, with corresponding z-index.
- create individual canvas for each drawn item, with corresponding z-index. Example config attached, NY&HV_RR_Carfloat_Configs panel shows the problem clearly where the gray rectangles should be on top of the yellow rounded rectangle. DR5000.zip
This was found and discussed in #12663
This issue is stale because it has been open for 45 days with no activity.
This issue is stale because it has been open for 45 days with no activity.
This issue is stale because it has been open for 45 days with no activity.