<?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 In the drag and drop CSV example, what gives the image it's position? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468538#M43439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the example &lt;A href="https://developers.arcgis.com/javascript/jssamples/exp_dragdrop.html" title="https://developers.arcgis.com/javascript/jssamples/exp_dragdrop.html"&gt;Drag and drop to display data | ArcGIS API for JavaScript &lt;/A&gt; it says you can also upload images.&amp;nbsp; How do you control the position of the image?&amp;nbsp; Is it based on the mouse position when you drag it onto the map canvas?&amp;nbsp; It seems like this would only work for one image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 17:10:00 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2015-10-14T17:10:00Z</dc:date>
    <item>
      <title>In the drag and drop CSV example, what gives the image it's position?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468538#M43439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the example &lt;A href="https://developers.arcgis.com/javascript/jssamples/exp_dragdrop.html" title="https://developers.arcgis.com/javascript/jssamples/exp_dragdrop.html"&gt;Drag and drop to display data | ArcGIS API for JavaScript &lt;/A&gt; it says you can also upload images.&amp;nbsp; How do you control the position of the image?&amp;nbsp; Is it based on the mouse position when you drag it onto the map canvas?&amp;nbsp; It seems like this would only work for one image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468538#M43439</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-14T17:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: In the drag and drop CSV example, what gives the image it's position?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468539#M43440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wherever your mouse cursor is when you drop the image, that is where the image will be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; if (file.type.indexOf("image/") !== -1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; handleImage(file, event.layerX, event.layerY);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468539#M43440</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2021-12-11T20:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: In the drag and drop CSV example, what gives the image it's position?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468540#M43441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess that makes sense technically, but to me its a rather nonsensical bit of functionality.&amp;nbsp; I guess you could write additional code that lets people pick it up and move it until it was where they wanted it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468540#M43441</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-14T18:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: In the drag and drop CSV example, what gives the image it's position?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468541#M43442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I don't know why this has been added, other than to show it is possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-the-drag-and-drop-csv-example-what-gives-the/m-p/468541#M43442</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-10-14T18:14:05Z</dc:date>
    </item>
  </channel>
</rss>

