AnsweredAssumed Answered

4.x - Feature Layer - Default generalizing of geometries

Question asked by straatvark on Nov 22, 2017
Latest reply on Nov 23, 2017 by straatvark

Hi, when using a Feature layer (FeatureLayer | API Reference | ArcGIS API for JavaScript 4.5 ), then the maxAllowableOffset = 1 value is used when the layer is switch on.


(It use the Query task automatically to display the layer i.e. Query | API Reference | ArcGIS API for JavaScript 4.0  )


How do control the amount of generalization that can happen, ideally automatically affected by scale, when I only construct a Feature Layer and adding to the map?


In the API v3.x, the maxAllowableOffset was set on the layer itself.


Any advice would be much appreciated.