Select to view content in your preferred language

Visual Variables does not respect colorLocked property in a CIM symbol

411
4
05-22-2024 02:42 AM
LuisSolaRuiz
Emerging 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
4 Replies
LuisSolaRuiz
Emerging 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
Emerging 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.