I have a map in the MapServer that contains a group layer as shown here. When I add it as a layer inside Map Viewer, I get a dotted line where the drawing info on my layer (lines_for-advanced_symbols_1) is not applied.
"drawingInfo": {
"renderer": {
"type": "simple",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
0,
255
],
"width": 3.4
}
},

However, when I add only the layer by itself to the map viewer, it is rendered with its drawing info and renders as a solid line.

Is this expected, why is the drawing info not used when it is added within the map?