AnsweredAssumed Answered

QueryFeaturesAsync: Paging

Question asked by CSMike_PDX on Feb 4, 2019
Latest reply on Feb 5, 2019 by CSMike_PDX

I've got a map service that supports paging and has MaxFeatureCount set to 4000.  Can someone familiar with using runtime's paging capability on QueryFeaturesAsync() give me some pointers on how I can return more than 4000 features?  I'm seeing properties on the QueryParameters object such as MaxFeatures, MaxAllowableOffset and ResultOffset but the docs don't really indicate how these should be utilized.  Do I need to execute my query in a Do While loop?  If so does that mean I need to first do a QueryFeatureCountAsync() to set up the paging logic?

 

Thanks in advance!

Outcomes