Select to view content in your preferred language

Visual Variables does not respect colorLocked property in a CIM symbol

655
5
05-22-2024 02:42 AM
LuisSolaRuiz
Occasional Contributor

Hello! 

colorLocked property in the following CIM Symbol is not working in a SceneView if the feature layer has visualVariables active. 

Symbol: 

 

    const cimSymbol = {
        type: 'CIMPointSymbol',
        symbolLayers: [
            {
                type: 'CIMPictureMarker',
                enable: true,
                anchorPoint: {
                    x: 0,
                    y: 0,
                },
                anchorPointUnits: 'Relative',
                size: 16,
                scaleX: 1,
                url: imageUrl,
                colorLocked: true,
                tintColor: [
                    255,
                    255,
                    255,
                    255,
                ],
            },
]
}

 

MapView - 2D: 

LuisSolaRuiz_0-1716370890801.png

SceneView - 3D:

LuisSolaRuiz_1-1716370945188.png

0 Kudos
5 Replies
LuisSolaRuiz
Occasional Contributor

@AnneFitz, do you know what can it be?

0 Kudos
AnneFitz
Esri Regular Contributor

Hi @LuisSolaRuiz - this seems like a bug. Thanks for letting us know, we'll look into it.

LuisSolaRuiz
Occasional Contributor

@AnneFitz any more information about this? Thanks 🙂

0 Kudos
AnneFitz
Esri Regular Contributor

Sorry, I don't have an update at this time. You can file an official bug report through Technical Support if you'd like to track the progress of the bug and help us prioritize the issue. Thanks.

LuisSolaRuiz
Occasional Contributor

Hello @AnneFitz. The bug is still happening and I am not an authorized caller, so it is impossible to report anything 😅

LuisSolaRuiz_0-1739890499879.png

 

0 Kudos