AnsweredAssumed Answered

"query-limit-exceeded" event in JSAPI 4.6?

Question asked by kevinhaeni on Feb 26, 2018
Latest reply on Mar 12, 2018 by kevinhaeni

In JSAPI 3.x, it was possible to react to a layer having more features than the services feature limit by 

this.layer.on('query-limit-exceeded', function(evt) {
    // too many features found
});

How can this be done in JSAPI 4.x? I cannot find a corresponding event neither in the API reference, the TypeScript typings nor in the .js source code.

 

PS. I'm not using a queryTask, but really just a feature layer that has been loaded to the map.

 

Thanks and best regards

Kevin

Outcomes