Solved! Go to Solution.
Ian-
We just released 100.1 last night, and that brings in support for client side dynamic labeling. See some notes about the release here - ArcGIS Runtime 100.1 is now available! | ArcGIS Blog
There is not a full-fledged labeling API yet, but what we allow you to do is to create LabelDefinitions from JSON, as defined in the ArcGIS REST spec. These LabelDefinitions can then be applied to a few different Layer types.
FeatureLayer QML Type | ArcGIS for Developers
LabelDefinition QML Type | ArcGIS for Developers
Thanks,
Luke
Ian-
We just released 100.1 last night, and that brings in support for client side dynamic labeling. See some notes about the release here - ArcGIS Runtime 100.1 is now available! | ArcGIS Blog
There is not a full-fledged labeling API yet, but what we allow you to do is to create LabelDefinitions from JSON, as defined in the ArcGIS REST spec. These LabelDefinitions can then be applied to a few different Layer types.
FeatureLayer QML Type | ArcGIS for Developers
LabelDefinition QML Type | ArcGIS for Developers
Thanks,
Luke
another tip
I struggled to find this (I just wanted to change a label color), but now using LabelDefinition, and labelExpression( in the featureservice Drawing Info), I can do ALL kinds of things
Sample code always helps:
I found in the QML Samples
In the section "Display Information", the Sample "Show labels on Layers" - look at the Source Code to see sample usage of Label Definition
Cool stuff.
Yep, good call. These are now on GitHub too (in case you don't want to download the viewers) - arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_QMLSamples/DisplayInformation/ShowLabelsOnLayers at mas...