Hi everyone,
I was using 100.8 runtime library in my project. After upgrading to 100.15 we saw that labels were not visible anymore. We were creating labels like below:
mpDistrictNamesOverlay = new GraphicsOverlay(this);
mpDistrictNamesOverlay->setSceneProperties(LayerSceneProperties(SurfacePlacement::Draped));
const QString labelDistrictNames(R"({"labelExpressionInfo":{"expression":"$feature.districtName"},"labelPlacement":"esriServerPointLabelPlacementAboveCenter","symbol":{"angle":0,"backgroundColor":[0,0,0,0],"borderLineColor":[0,0,0,0],"borderLineSize":0,"color": [255,255,255,255],"font":{"decoration":"none","size":8,"style":"normal","weight":"normal"},"haloColor":[0,0,0,0],"haloSize":0,"horizontalAlignment":"center","kerning":false,"type":"esriTS","verticalAlignment":"middle","xoffset":0,"yoffset":0}})");
LabelDefinition* labelDefDistrictNames = LabelDefinition::fromJson(labelDistrictNames, this);
mpDistrictNamesOverlay->labelDefinitions()->append(labelDefDistrictNames);
mpDistrictNamesOverlay->setLabelsEnabled(true);
m_sceneView->graphicsOverlays()->append(mpDistrictNamesOverlay);What would be the new way to print $feature.districtName as a label, in fact a simple label, on an overlay? We have a 3D SceneView by the way.