Blocking: CIM symbol of type 'CIMPolygonSymbol' is unsupported in 3D

487
1
03-03-2022 05:19 AM
MichaelK1
New Contributor III

Creating a CIMTextSymbol with symbol used to work (In the previous version of arc gis api):

 

{
        type: 'CIMTextSymbol',
        fontFamilyName: 'apica-font',
        height: size,
        horizontalAlignment: 'Center',
        symbol: {
            type: 'CIMPolygonSymbol',
            symbolLayers: [
                {
                    type: 'CIMSolidFill',
                    enable: true,
                    color,
                },
            ],
        },
        billboardMode3D: 'FaceNearPlane',
        verticalAlignment: 'Center',
    };

 

 
Why is it not working anymore? Is there any alternative for visualising 3D text.

Thanks

0 Kudos
1 Reply
SaschaBrunnerCH
Esri Contributor

Hi Micheal
You could use TextSymbol3DLayer in 3D for labels.
With the upcoming release 4.23 (next - Label alignment and styles) there is also more support for labels like custom fonts, decoration and background coming.
Check also the sample - using callout lines with labels.