Select to view content in your preferred language

Draw cursor offset issue

4084
14
Jump to solution
05-14-2014 11:36 AM
AlexGole1
Emerging Contributor
Hi,
I am using the following: http://jsbin.com/mutis/1/edit  script and I get a cursor offset when I draw using a freehand poly or simple poly. I noticed that some people have had the same issue in the past. Can anyone tell me how to fix this?
Thank you,
Alex
0 Kudos
14 Replies
AlexGole1
Emerging Contributor
i just left everything right where it was.

<section id="fancy"  ...
<section id="search" ></section>
...
</section>


Do I remove the content pane then?

<section id="map" class="map" section data-dojo-type="dijit/layout/ContentPane" region="center" data-dojo-props="region:'center'">
0 Kudos
JohnGravois
Deactivated User
as i said before...
i just left everything right where it was.
0 Kudos
AlexGole1
Emerging Contributor
as i said before...


Sorry I know it must make sense to you and it seems to be an easy fix but I am still a bit lost with the logic you are using. Can you share it with JSbin maybe?
0 Kudos
JohnGravois
Deactivated User
my apologies, but i just realized that i had commented out all of our drop shadow divs earlier to try and simplify your app a little bit.

http://jsfiddle.net/jagravois/Dy4r4/

ill have to leave it to you if you'd like to try and add them back in and sort out the rest on your own.
0 Kudos
AlexGole1
Emerging Contributor
my apologies, but i just realized that i had commented out all of our drop shadow divs earlier to try and simplify your app a little bit.

http://jsfiddle.net/jagravois/Dy4r4/

ill have to leave it to you if you'd like to try and add them back in and sort out the rest on your own.


Thank you very much John! I get it now. Very well done! Thank you for your help and patience!
Alex
0 Kudos