AnsweredAssumed Answered

Feature layer labeling in v100.0

Question asked by olivierdev on Jan 4, 2017
Latest reply on Jan 25, 2017 by DGoyal-esristaff

Is there any sample showing how to use new classes dedicated to labeling (for example AGSLabelingInfo or AGSViewLabelProperties)?

Or could someone please explain me how it's supposed to work? 

I have a hosted feature layer with labels. The rest API shows that the labelling info is well described (in the drawing info section of the layer). But no label is displayed on the map.

Also the labelingInfo property is null. Even if the feature layer has detailed labeling info on the rest service endpoint.

Did I miss something?

How does those labeling properties work? Are labels displayed the way they are defined in the feature service? Or can we edit the label properties on client side (label placement, label expression, etc..)?


Thanks in advance for any clarification.