Select to view content in your preferred language

Draw Toolbar right-click mid draw

3166
5
Jump to solution
10-30-2015 05:32 AM
TyroneBiggums
Occasional Contributor III

In 3.14, if you select a polygon that doesn't require a double click to complete (triangle, rectangle, circle, etc), start drawing the shape, right-click before you let go of the left mouse button, and keep drawing, you get two shapes displaying on the map.

What's going on with this? Is there a fix for this?

Repro steps:

1. Go here Maps Toolbar

2. Select 'Triangle'

3. Mouse-over map

4. Left click to start drawing

5. Drag mouse to make a triangle

6. Right-click and drag (note: do not lift off of the left mouse button)

7. Drag mouse across map to continue drawing

8. Let go of both mouse buttons (in any order, or same time)

9. Note the red outlined triangle and the black outlined triangle

Notes:

- When you first right-click, you see a line

- If you don't drag across the map in step 7, you'll have 2 triangles on top of each other

Tim Witt​, if you don't mind taking a look. This looks to be your wheelhouse after I saw the Advanced Draw Tool. Any thoughts on this?

Thank you,

D

0 Kudos
1 Solution

Accepted Solutions
TimWitt2
MVP Alum

It looks by right clicking  it screws up the removal of the temporary graphic that shows your current shape and the once you click anywhere else it finalizes the drawing.

You would have to look at the code in the drawing toolbar to see what steps are taken to create a shape.

http://js.arcgis.com/3.14/esri/toolbars/draw.js

View solution in original post

0 Kudos
5 Replies
TimWitt2
MVP Alum

It looks by right clicking  it screws up the removal of the temporary graphic that shows your current shape and the once you click anywhere else it finalizes the drawing.

You would have to look at the code in the drawing toolbar to see what steps are taken to create a shape.

http://js.arcgis.com/3.14/esri/toolbars/draw.js

0 Kudos
TyroneBiggums
Occasional Contributor III

Good point. Good idea. Thanks!

0 Kudos
TyroneBiggums
Occasional Contributor III

You're not wrong, but now that I'm revisiting this, I have no desire to look at Esri's code. Has anyone else discovered a fix? Can this be a bug that is fixed by Esri?

KristianEkenes
Esri Regular Contributor

Contact tech support and we can get this logged as a trackable issue.

0 Kudos
TyroneBiggums
Occasional Contributor III

This only occurs on IE9 and we stopped caring about IE9 now. Thanks, though.

0 Kudos