msubeer

Internet Explorer 9 & 10 and the drawing toolbar

Discussion created by msubeer on Feb 18, 2014
Hi,

I have been using the draw toolbar to add line graphics to the map window.  I can then leverage the geodesicUtils to quickly get some measurements for these lines.  I then loop through the segments to label them at the midpoint of each segment.  It has worked well in chrome and firefox, but per usual, IE 10 behaves differently.  In fact, it appears that when at the end of a draw, the double click that end of a draw, ADDS in an additional point when IE 10 is used...  very frustrating...

I am using api version 3.8 and the new 1.9 syntax. My work around so far has been to use "dojo/has" to make a special case for when IE 9 or greater is used and my loop through the line paths is reduced by 1.

This seems to be documented in http://forums.arcgis.com/threads/84547-ie10-issue-with-graphics-draw-of-polygon-and-polyline
but I was curious if this is something that is going to be fixed in the next api release...

Thanks,
Jeff

Outcomes