Is Draw widget in arcgis js 4.x does not work in sceneview?

649
3
09-13-2021 12:20 AM
YashiAgrawal
New Contributor

Hi I was trying to use Draw tool for 2D and 3D view but it is working totally fine in 2D but not in 3D. It is not even allowing to draw anything in scene view. I dont want to use sketch view model or sketch tool.

0 Kudos
3 Replies
RalucaNicola1
Esri Contributor

Hey, there is no Draw widget in the ArcGIS JS API. Do you mean the Sketch widget? here's an example in 3D: https://codepen.io/ralucanicola/pen/WNOOZdd

 

0 Kudos
YashiAgrawal
New Contributor

I am awae about sketch widget but I am speifically taking about draw tool, this is the link for draw api: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-Draw.html

0 Kudos
RalucaNicola1
Esri Contributor

ok, draw tool works in 3D as well: https://codepen.io/ralucanicola/pen/powWJLd?editors=100

Can you be more specific about the issues you encounter? A code snippet or a codepen with an example is always the best to figure out where the problem comes from.

0 Kudos