<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Draw cursor offset issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66042#M5795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the following: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://jsbin.com/mutis/1/edit" rel="nofollow" target="_blank"&gt;http://jsbin.com/mutis/1/edit&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; 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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 18:36:11 GMT</pubDate>
    <dc:creator>AlexGole1</dc:creator>
    <dc:date>2014-05-14T18:36:11Z</dc:date>
    <item>
      <title>Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66042#M5795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the following: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://jsbin.com/mutis/1/edit" rel="nofollow" target="_blank"&gt;http://jsbin.com/mutis/1/edit&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; 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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 18:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66042#M5795</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2014-05-14T18:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66043#M5796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there are a variety of resources missing in your jsbin that make it impossible to test with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in general, its probably a CSS problem, as discussed in this forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/47975-Map-Navigation-Mouse-Offset?highlight=offset"&gt;http://forums.arcgis.com/threads/47975-Map-Navigation-Mouse-Offset?highlight=offset&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66043#M5796</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-05-15T14:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66044#M5797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi alex,&lt;BR /&gt;&lt;BR /&gt;there are a variety of resources missing in your jsbin that make it impossible to test with it.&lt;BR /&gt;&lt;BR /&gt;in general, its probably a CSS problem, as discussed in this forum.&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/47975-Map-Navigation-Mouse-Offset?highlight=offset"&gt;http://forums.arcgis.com/threads/47975-Map-Navigation-Mouse-Offset?highlight=offset&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like the problem is the toolbar. When I remove the toolbar from the &amp;lt;div map&amp;gt; it works fine. When I keep as such there is an offset. Is there a way to keep the toolbar within the map div and have the draw tool work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 18:32:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66044#M5797</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2014-05-15T18:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66045#M5798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;have you tried calling map.reposition() as suggested in the forum thread i linked previously?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 18:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66045#M5798</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-05-15T18:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66046#M5799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;have you tried calling map.reposition() as suggested in the forum thread i linked previously?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; I have not because I am not sure where to place it in my script. Where should the map.reposition() go?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 18:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66046#M5799</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2014-05-15T18:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66047#M5800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hard to tell you without seeing a sample app that shows the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 18:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66047#M5800</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-05-15T18:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66048#M5801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hard to tell you without seeing a sample app that shows the problem.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; This sample is a very simplified (old) version of my app. &lt;/SPAN&gt;&lt;A href="http://jsbin.com/ficetiwo/1/edit"&gt;http://jsbin.com/ficetiwo/1/edit&lt;/A&gt;&lt;SPAN&gt; (click run with js). Click on the "Extract Data" tab at the bottom and then Select an area of interest to draw. I am not sure where to add the map reposition function in this script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 19:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66048#M5801</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2014-05-15T19:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66049#M5802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;alex, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;adding a dedicated &amp;lt;div&amp;gt; for the map inside your content pane (instead of associating the map object with the div for the content pane itself) resolved the problem with the cursor for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
map = new Map("map2", {
...
&amp;lt;section id="fancy"
&amp;lt;/section&amp;gt;
&amp;lt;div id="map2"&amp;gt;&amp;lt;/div&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:32:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66049#M5802</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-10T22:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66050#M5803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;alex, &lt;BR /&gt;adding a dedicated &amp;lt;div&amp;gt; for the map inside your content pane (instead of associating the map object with the div for the content pane itself) resolved the problem with the cursor for me.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
map = new Map("map2", {
...
&amp;lt;section id="fancy"
&amp;lt;/section&amp;gt;
&amp;lt;div id="map2"&amp;gt;&amp;lt;/div&amp;gt;
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where does the toolbar go in that case? &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;section id="fancy"
&amp;lt;/section&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:32:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66050#M5803</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2021-12-10T22:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66051#M5804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i just left everything right where it was.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;section id="fancy"&amp;nbsp; ...
&amp;lt;section id="search" &amp;gt;&amp;lt;/section&amp;gt;
...
&amp;lt;/section&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:32:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66051#M5804</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-10T22:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66052#M5805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i just left everything right where it was.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;section id="fancy"&amp;nbsp; ...
&amp;lt;section id="search" &amp;gt;&amp;lt;/section&amp;gt;
...
&amp;lt;/section&amp;gt;
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I remove the content pane then?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;section id="map" class="map" section data-dojo-type="dijit/layout/ContentPane" region="center" data-dojo-props="region:'center'"&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:32:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66052#M5805</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2021-12-10T22:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66053#M5806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;as i said before...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i just left everything right where it was.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 22:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66053#M5806</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-05-15T22:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66054#M5807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;as i said before...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 22:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66054#M5807</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2014-05-15T22:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66055#M5808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://jsfiddle.net/jagravois/Dy4r4/" rel="nofollow" target="_blank"&gt;http://jsfiddle.net/jagravois/Dy4r4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 22:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66055#M5808</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-05-15T22:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Draw cursor offset issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66056#M5809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/jagravois/Dy4r4/"&gt;http://jsfiddle.net/jagravois/Dy4r4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;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.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much John! I get it now. Very well done! Thank you for your help and patience!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 23:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/draw-cursor-offset-issue/m-p/66056#M5809</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2014-05-15T23:59:04Z</dc:date>
    </item>
  </channel>
</rss>

