Hi,
i have a MapImageLayer with sublayers. It contains sublayers with multiple nesting of other sublayers. The problem lies in the fact that the transparency setting works only in the map image layer and the last sublayers in the hierarchy (leaves). For example, property visible works, but transparency does not. Map or the layer was not redrawn. Tested on 4.28 and 4.29 version of Javascript SDK.
Example:
const mapImageLayer = {
type: 'map-image',
opacity: 1, // OK
sublayers: [
{
type: 'sublayer',
opacity: 1, // NOT WORKING
sublayers: [
{
type: 'sublayer',
opacity: 1, // OK
sublayers: null
}
]
},
{
type: 'sublayer',
opacity: 1, // OK
sublayers: null
}
]
};
};