<?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 esri.toolbars.Draw - points drawn in wrong position in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-points-drawn-in-wrong-position/m-p/451697#M41750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on a project which is integrating ESRI ArcGIS with the .net Umbraco CMS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a fairly fully functioning data editor, which allows for spatial objects to be created for content on the website. However the biggest remaining issue is that when point, polylines or polygons are drawn on the map the points are drawn in the wrong place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance if I click on the map to draw a point, it won't appear where the mouse is, but instead about 100 pixels lower.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm guessing it's to do with either:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;The browser window Y scrollbar not being used in position calculations&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The map being inside a frame (Which is how the Umbraco admin works)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Problem with use of position:absolute on map DIV&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Does anyone have any experience of a simular issue? &lt;/SPAN&gt;&lt;STRONG&gt;Is it a bug or something I'm not doing correctl&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.avonandsomerset.police.uk/secure/images/Umbraco_ESRI_DataEditor.PNG" rel="nofollow" target="_blank"&gt;&lt;IMG src="http://www.avonandsomerset.police.uk/secure/images/Umbraco_ESRI_DataEditor.PNG" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 14:24:03 GMT</pubDate>
    <dc:creator>PeterBridger</dc:creator>
    <dc:date>2012-07-12T14:24:03Z</dc:date>
    <item>
      <title>esri.toolbars.Draw - points drawn in wrong position</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-points-drawn-in-wrong-position/m-p/451697#M41750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on a project which is integrating ESRI ArcGIS with the .net Umbraco CMS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a fairly fully functioning data editor, which allows for spatial objects to be created for content on the website. However the biggest remaining issue is that when point, polylines or polygons are drawn on the map the points are drawn in the wrong place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance if I click on the map to draw a point, it won't appear where the mouse is, but instead about 100 pixels lower.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm guessing it's to do with either:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;The browser window Y scrollbar not being used in position calculations&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The map being inside a frame (Which is how the Umbraco admin works)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Problem with use of position:absolute on map DIV&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Does anyone have any experience of a simular issue? &lt;/SPAN&gt;&lt;STRONG&gt;Is it a bug or something I'm not doing correctl&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.avonandsomerset.police.uk/secure/images/Umbraco_ESRI_DataEditor.PNG" rel="nofollow" target="_blank"&gt;&lt;IMG src="http://www.avonandsomerset.police.uk/secure/images/Umbraco_ESRI_DataEditor.PNG" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 14:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-points-drawn-in-wrong-position/m-p/451697#M41750</guid>
      <dc:creator>PeterBridger</dc:creator>
      <dc:date>2012-07-12T14:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: esri.toolbars.Draw - points drawn in wrong position</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-points-drawn-in-wrong-position/m-p/451698#M41751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try calling map.resize() and/or map.reposition().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-points-drawn-in-wrong-position/m-p/451698#M41751</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-12T16:10:37Z</dc:date>
    </item>
  </channel>
</rss>

