ajames

Shapes not visible if specify outfields for feature layer

Discussion created by ajames on Jan 28, 2013
I have a feature layer that works fine if I do not specify explicit outFields.  As soon as I specify some outFields, the layer stops showing anything.  I read that when not specifying outfields, it uses "*" by default and automatically includes a returnGeometry=true.  So I was thinking that if I explicitly set some outfields, maybe I have to explicitly set returnGeometry=true?  However, I do not see that API in the Android ArcGIS SDK anywhere.  Also, I have another feature layer that works fine with or without specifying outFields.  Any ideas?

Outcomes