The problem is the SIZE property of the CIM symbol. Now it's correct
This is the CIM renderer
{
type: "simple",
symbol: {
type: "cim",
data: {
type: "CIMSymbolReference",
primitiveOverrides: [{
type: "CIMPrimitiveOverride",
primitiveName: "symbol-layer-1",
propertyName: "ScaleX",
valueExpressionInfo: {
type: "CIMExpressionInfo",
title: "Size override",
expression: "1",
returnType: "Numeric"
}
}],
symbol: {
"type": "CIMPointSymbol",
"symbolLayers": [{
"type": "CIMPictureMarker",
primitiveName: "symbol-layer-1",
"enable": true,
"anchorPoint": {
"x": 0,
"y": 0
},
"anchorPointUnits": "Relative",
"dominantSizeAxis3D": "Y",
"billboardMode3D": "FaceNearPlane",
"invertBackfaceTexture": true,
size: 1,
scaleX: 1,
"textureFilter": "Picture",
"tintColor": [
255,
255,
255,
255
],
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+L+U4T8ABu8CpCYJ1DQAAAAASUVORK5CYII="
}]
}
},
},
label: "ships",
visualVariables: [{
type: "rotation",
field: "ROTATION",
rotationType: "geographic"
},
{
type: "size",
field: "WIDTH",
valueUnit: "meters"
},
]
};
You should think the size property would override the size property of the CIM symbol? But It's not, when removing the size property of the CIM symbol It works. Can you explain this? Thanks