hi, i am using Arcgis for JavaScript.
I was trying to draw a few geometric shapes using sketch widget, i happened that It worked perfectly when using the 4.11 version of the api, but when switched to 4.12 seems not working.
any info why is this happening?
Hi David Tshamussa,
If you have a look in the Release notes for 4.12 | ArcGIS API for JavaScript 4.12, you will see that a new property availableCreateTools has been added to esri/widgets/Sketch.
So, maybe you have to update your code when upgrading to 4.12?
For a working example, see: Sketch widget | ArcGIS API for JavaScript 4.12.
HTH,
Egge-Jan
David Tshamussa if you are still experiencing issues, this may be related to Sketch and measurement graphics not showing up after 4.12 update. Do you know what graphics card your machine is using?