Select to view content in your preferred language

Draw the point is not according to the mouse click

696
1
05-04-2014 10:59 PM
xiaoyunnsongb
Deactivated User
Superiors:
      Hello, when I use  the  esri.toolbar.Draw  to  draw  a  graphic, the draw the graphic is not according the mouse ,when the mouse click here ,the drawed  point  is  in the left  or  right  a little distance from the mouse click.
    the picture display like [ATTACH=CONFIG]33579[/ATTACH][ATTACH=CONFIG]33579[/ATTACH] 2.[ATTACH=CONFIG]33580[/ATTACH][ATTACH=CONFIG]33581[/ATTACH][ATTACH=CONFIG]33582[/ATTACH], thanks to you.
0 Kudos
1 Reply
RaymondGoins
Regular Contributor
I had this happen to me. In my case it was because of a toolbar I had at the top of my map and the order in which the divs were placed on the web page. The divs you use for each element should not be blocking your map, or should I say, behind your map. If you have some divs that are hidden show them for time being so you can figure out which one is causing the issue. Once found you would assign a style of "position:absolute;" to fix the problem.  Mine was caused by a jquery dropdown menu which cause my mouse to be about 6 inches off.

If you have some code for the page I can take a look.

Ray
0 Kudos