Draw tool doesn't account for changes in map position after page loads

Discussion created by hingkyzer on Jul 7, 2011
Latest reply on Jul 12, 2011 by hingkyzer
I've set up a link below to show this.  If a page loads, and you intend to have the user use the toolbar Draw tool, and you have anything happen that changes the map position, the Draw tool does not offset to account for this.

I know how to find the offset or change of the map position, but is there a way to apply this offset to the draw tool so it draws under the cursor and accounts for the position change?


In the link above just draw once, everything works.  Then expand the div, draw again, you'll notice the offset issue.