Hello Team,
We are using C++ ARCGIS Runtime SDK for qt.
Can you please tell us How to add label definition to feature collection layer.
Thanks,
Solved! Go to Solution.
This does the job,
dynamic_cast<FeatureLayer*>(m_featureCollectionLayer->layers().at(0))->labelDefinitions()->append(labelDef);
dynamic_cast<FeatureLayer*>(m_featureCollectionLayer->layers().at(0))->setLabelsEnabled(true);
This does the job,
dynamic_cast<FeatureLayer*>(m_featureCollectionLayer->layers().at(0))->labelDefinitions()->append(labelDef);
dynamic_cast<FeatureLayer*>(m_featureCollectionLayer->layers().at(0))->setLabelsEnabled(true);