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
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.