Closed JurrianVRHDHV closed 5 months ago
Interesting bug.... assets "as polygons" has not been used extensively before, so multiple bugs might be still present
Issue existed because in Leaflet polygons are subclasses of polylines, so the MapEditor applied the styles of the carrier to it (including arrows) similar to lines (pipes/cables). This has now been resolved, as these polygons should not change color (areas do not have a carrier), but keep the color they have (usually green for assets) Fixed in next release (24.6)
Is there an existing issue for this?
What happened?
Hovering over or selecting a polygon layers of which the asset point has been connected to a supply pipeline shows a flow direction.
Whilst this is logical for a
Steps to reproduce the problem
Open ESDL Map Editor
Select asset type [used generic consumer]
Draw a new area/asset as a polygon using the draw polygon tool.
Finish drawing the polygon
Select 'pipe' in the topbar menu and use the draw "a cable or a pipe" toolkit option to draw a pipe connected to the input of the polygon asset.
Finish drawing the line
Go to the Edit topbar menu and select 'Energy carriers'
Select Heat commodity, fill in the name [Test], Supply temp. [70] and return temp. [40] and click add.
Rightclick on the line to open the options menu and select 'Set Carrier'.
Select the added [Test] Carrier.
The [now default red collored polygon should show directional arrows on the outline.
What should have happened?
The asset polygon should match the color of the set carrier (including outline and infil), but its outline should not have directional arrows
What browsers do you use to access the UI?
Mozilla Firefox
Additional information
After testing a bit with Sam, we found that the color change and directional arrows are set to the input carrier and not dependent on other connected carriers.