Hi,
I am wondering if it is possible to create a definition expression on a feature layer that was created from a feature collection (or JSON). I have modeled part of my application after this sample on for version 4x:
ArcGIS API for JavaScript Sandbox
After setting the definition expression and then printing out the feature layer (console.log), I can see in the meta data that a definition expression has been set, but it just doesn't display on the map.
Can anyone provide me with an explanation to this behavior? I have also reproduced the same results in the above sample sandbox.
Thanks,
Jacob