Select to view content in your preferred language

Disable quantization / generalization on featurelayer

1198
10
09-20-2023 05:30 AM
ae
by
Occasional Contributor II

Is there any way to force a featurelayer to never generalize and/or quantize the geometries in the layer? I am asking because I'm doing a lot of geometryengine operations on a featurelayer and sometimes I get tiny slivers as output from the engine. Seemingly this is caused by tiny differences in the geometries depending on zoom level etc. In version 3 of the api we had setMaxAllowableOffset and autoGeneralize props as means to control this but in version 4 I cannot find it. 

0 Kudos
10 Replies
JohnRitsko1
New Contributor III

Amazing Joel, just amazing.  Thank you once again for your time.

0 Kudos