0

I have my app configured with arcgis version 10.2 and 100.2. I have a feature layer in that every feature has a label for its code to display.

What happening hear is in arcgis 10.2 only the feature is displaying but the label doesnot display

and on arcgis 100.2 previously neither the feature nor its label displays. but in this we have a query function with .LoadAll parameter. By implementing this method both the label and feature is getting saved in feature table.

But in 10.2 I was not able to display its label

without label ----- With Label

How should I show the label ?

Parv Bhasker
  • 1,773
  • 1
  • 20
  • 39

1 Answers1

0

Take a look at the outFields property on the 10.2.x AGSFeatureLayer. To replicate 100.x's loadAll behavior, set this to ["*"] (as described in the documentation).

Nixta
  • 464
  • 2
  • 10