AnsweredAssumed Answered

ArcGISFeatureLayer with layerDefinition String

Question asked by mirliva1976 on Feb 13, 2018

Hello everyone,


I want to use ArcGISFeatureLayer with the following constructor as defined in ArcGIS API document:


ArcGISFeatureLayer(String layerDefinition, FeatureSet featureCollection, ArcGISFeatureLayer.Options layerOption)

The constructor is used if you are instantiating the ArcGISFeatureLayer using a feature collection.


In this usage I have to give a String as layerDefinition but I could not find any example layerdef in Internet. Am I the only one who uses the constructor like that?