The tool "esri/toolbars/draw" doesn't exists anymore?

3724
4
Jump to solution
05-06-2016 05:25 AM
LucasSerqueira
New Contributor II

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?

Tags (2)
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

That is coming soon in 4.1, according to the Functionality matrix​

View solution in original post

4 Replies
KenBuja
MVP Esteemed Contributor

That is coming soon in 4.1, according to the Functionality matrix​

LucasSerqueira
New Contributor II

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'.

0 Kudos
JordanKing3
New Contributor III

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.

NickCameron2
New Contributor III

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.

0 Kudos