| Bug ID Number |
BUG-000130105 |
| Submitted | April 13, 2020 |
| Last Modified | February 14, 2025 |
| Applies to | ArcGIS Maps SDK for JavaScript |
| Version found | 4.14 |
| Operating System | Windows OS |
| Operating System Version | 10.0 64 Bit |
| Status | Under Consideration
The issue has been reviewed by the development team. It has not been prioritized into a release plan and will be monitored to determine its overall impact. Factors that are considered in the prioritization process include the number of users affected or requesting the functionality, business impact, whether a workaround exists, among others. If a bug is adversely affecting your business, see How To: Escalate a defect (https://support.esri.com/en/technical-article/000024129).
|
Workaround
Link workaround: https://codepen.io/AuraipornA/pen/QWQoezq
- Instead of making a clone of the graphicsLayer and having the Polygon and Graphic made outside the function, make a function with the Polygon and Graphic within it.
- Add in graphicsLayer.removeAll() to reset the old graphic.
- Add in graphicsLayer.add(Graphic) to make the newly defined Polygon that were made using the HTML buttons using a single click as seen in BUG-000130105_workaround (Line number 75 - 92).
Steps to Reproduce