laptop and a wrench

Bug

The client-side polygon fill changes as the map view zooms in and out.

Last Published: December 9, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000126993
SubmittedNovember 26, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.13
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This is by design starting at 4.13 as part of the performance optimizations. The API does not simplify non OGC compliant geometries anymore if they are being created on the client side. It is user’s responsibility to check if the geometries are correct. When updating features for server side services we still correct geometries if they happen to pass incorrect geometries. Simplifying geometries is labor intensive (affects performance) and this is why it's important to check this when creating geometries on the client. In this particular case, simplify the polygons using geometryEngine’s simplify method. Updated test app for this, https://codepen.io/U_B_U/pen/bGGPKVJ?editors=1000

Steps to Reproduce

Bug ID: BUG-000126993

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options