why can't draw graphics using the latest released API arcgis for java script... 4.12.

298
2
08-12-2019 04:56 AM
DavidTshamussa
New Contributor

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?

Tags (1)
0 Kudos
2 Replies
Egge-JanPollé1
MVP Regular Contributor

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

mgeorge
Esri Contributor

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? 

0 Kudos