<?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 Re: Location of click  moves after using zoom or identify tool in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379749#M35241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: stevel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Today I added a navigation toolbar and I noticed that the zoom box begins drawing above and to the left of where my mouse clicked on the map&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This indicates that the navigation toolbar is pushing the map contents downwards. Try putting the Toolbar's DIV outside of the Map's DIV, as in the example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/toolbar_navigation.html"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 20:12:26 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-02-08T20:12:26Z</dc:date>
    <item>
      <title>Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379747#M35239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: monzay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coming up with a useful title was challenging!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other day I added an identify task to my application. While it worked I noticed that the leader line from the popup window points to a location that is different from where I clicked. For example, in my attached screenshot I would have clicked about a 1/2 inch below Tampa but the leader point appears all of the way up in North Florida.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Today I added a navigation toolbar and I noticed that the zoom box begins drawing above and to the left of where my mouse clicked on the map. In the attached screenshot I would have started my zoom box to the left of the Miami text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why this might be happening?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 18:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379747#M35239</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-08T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379748#M35240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;CSS. Are you specifying any margin and/or padding on the div you're using for the map? If so, get rid of it. Also, read this thread:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/47975"&gt;http://forums.arcgis.com/threads/47975&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 20:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379748#M35240</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-08T20:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379749#M35241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: stevel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Today I added a navigation toolbar and I noticed that the zoom box begins drawing above and to the left of where my mouse clicked on the map&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This indicates that the navigation toolbar is pushing the map contents downwards. Try putting the Toolbar's DIV outside of the Map's DIV, as in the example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/toolbar_navigation.html"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 20:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379749#M35241</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-08T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379750#M35242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I started out with that sample, however, my application uses a bordercontainer and several contentpanes. When I placed the toolbar's DIV outside of the map's DIV strange things happen with the UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This indicates that the navigation toolbar is pushing the map contents downwards. Try putting the Toolbar's DIV outside of the Map's DIV, as in the example &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/toolbar_navigation.html"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 11:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379750#M35242</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-09T11:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379751#M35243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: monzay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;CSS. Are you specifying any margin and/or padding on the div you're using for the map? If so, get rid of it. Also, read this thread:&amp;nbsp; &lt;A href="http://forums.arcgis.com/threads/47975"&gt;http://forums.arcgis.com/threads/47975&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No to the question on the margins. I read the other post and I'm not sure where to put map.reposition(); in my code. I tried putting it at the end of my init() function. I tried putting it after &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dojo.connect(dijit.byId('mapDiv'), 'resize', map, map.resize);map.reposition();&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379751#M35243</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-09T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379752#M35244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: swingley&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should only need to call reposition() if you've changed the position of the map. You should not need to call it immediately after creating the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post the html, css and js you're using? Or maybe even a simplified page that shows the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 13:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379752#M35244</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-09T13:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379753#M35245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You should only need to call reposition() if you've changed the position of the map. You should not need to call it immediately after creating the map.&lt;BR /&gt;&lt;BR /&gt;Can you post the html, css and js you're using? Or maybe even a simplified page that shows the problem?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to simplify my app as much as possible but it was still too long for this reply window. I have attached the files. You will need to change the extensions on the files. efhm_style.txt to .css and the other one to .html&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379753#M35245</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-09T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379754#M35246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: swingley&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try out the attached files. The issue was that your nav toolbar was inside the map div. To fix it, I added an additional border container and put the nav toolbar in its own content pane and the map is another content pane.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The page structure now looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;main border container&amp;gt; &amp;nbsp; &amp;lt;content pane: header&amp;gt; &amp;nbsp; &amp;lt;contnet pane: sidebar&amp;gt; &amp;nbsp; &amp;lt;content pane: rest of the page&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;nested border container for map and toolbar&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content pane: header to hold nav toolbar&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content pane: map&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;closing tag for nested border container&amp;gt; &amp;nbsp; &amp;lt;closing tag for "rest of the page" content pane&amp;gt; &amp;lt;closing tag for main page border container&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also added some CSS to get ride of the padding on content panes (personally, I prefer this to the default padding in the claro theme):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;.claro .dijitContentPane { &amp;nbsp; padding: 0 !important; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379754#M35246</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-09T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379755#M35247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much. I thought an additional container might be needed but I had difficulty understanding how to do it despite the example &lt;/SPAN&gt;&lt;A href="http://archive.dojotoolkit.org/nightly/checkout/dijit/tests/layout/"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379755#M35247</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-09T16:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379756#M35248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It turns out that this fix (testing using your attached files) does not work in IE. It works in Chrome and FF. This is where I'm getting the "Out of Memory at line: 48" error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Try out the attached files. The issue was that your nav toolbar was inside the map div. To fix it, I added an additional border container and put the nav toolbar in its own content pane and the map is another content pane.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 14:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379756#M35248</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-13T14:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379757#M35249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: swingley&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see "Out of memory at line: 14" when running the files you initially posted in IE8. I'll keep looking, but it seems like this issue was present before I added the additional border container.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 14:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379757#M35249</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-13T14:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Location of click  moves after using zoom or identify tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379758#M35250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I finally have it resolved. You were right that the code I sent you did not work in IE8! I went back a couple of days from there until I found a version that did not throw that error and then worked forward until I found the right combination. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Mike,&lt;BR /&gt;&lt;BR /&gt;I see "Out of memory at line: 14" when running the files you initially posted in IE8. I'll keep looking, but it seems like this issue was present before I added the additional border container.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 19:41:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-of-click-nbsp-moves-after-using-zoom-or/m-p/379758#M35250</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-13T19:41:48Z</dc:date>
    </item>
  </channel>
</rss>

