I'm trying to perform some map draws (lines, circles, poligons, freehand...). More specifically, I need the geometry of the draw to do a query on my FeatureServer. But I can't find the tool "esri/toolbars/draw" in the version 4.0. Is there another way to do that without manipulating the "click" and "mousemove" events?
Solved! Go to Solution.
That is coming soon in 4.1, according to the Functionality matrix
That is coming soon in 4.1, according to the Functionality matrix
kenbuja,
We are in version 4.2 and the draw tools are not available yet. There is some prevision to release?
In the funcionality matrix the status remains 'coming soon'.
If you want something in the interim, I have built a very basic freehand draw tool:
GitHub - kingy68/esri-javascript-draw-4
Could be easily extended/changed to handle polygons.
Works in 2D and 3D.
I needed something in the interim so created a drawTools class as well.
It's in this project: https://github.com/nickcam/angular2-esri-netcore
Although the project is angular2 the drawTools class has no angular dependencies so you could copy it to another project.