AnsweredAssumed Answered

Query not respecting layer's definition expression (4.X)

Question asked by Eletrosul on May 24, 2017
Latest reply on May 24, 2017 by rscheitlin

Decided to post as a question as I'm not sure if it is a bug or something I'm missing.


I'm using subLayer.queryFeatures to return geometries of a MapImageLayer and then adding them to the map.


But, although I change the layer's definition expression prior to the query, it still returns features that aren't being displayed.


Is this the expected behavior? Can I easily workaround this?