<?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: how to retrieve coordiantes on mouse click in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-coordiantes-on-mouse-click/m-p/364927#M33832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;map has event onclick where you can use event for get mapPoint or screenPoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.connect(map, "onClick", function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(evt.mapPoint.x + " " + evt.mapPoint.y);
});

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:58:45 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2021-12-11T16:58:45Z</dc:date>
    <item>
      <title>how to retrieve coordiantes on mouse click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-coordiantes-on-mouse-click/m-p/364926#M33831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am very very new to this framework. I have managed to get a map up in a screen and I am hoping somebody can advise me on how to get the coordinates on a mouse click. There are a lot of features on the javascript API but I have no idea which one is the one that I need. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen samples where you can click on the map and it brings up a point of interest but I want to actually close the map down on the click event and retrieve the coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 11:35:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-coordiantes-on-mouse-click/m-p/364926#M33831</guid>
      <dc:creator>AbuDawud</dc:creator>
      <dc:date>2011-01-28T11:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve coordiantes on mouse click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-coordiantes-on-mouse-click/m-p/364927#M33832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;map has event onclick where you can use event for get mapPoint or screenPoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.connect(map, "onClick", function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(evt.mapPoint.x + " " + evt.mapPoint.y);
});

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-coordiantes-on-mouse-click/m-p/364927#M33832</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2021-12-11T16:58:45Z</dc:date>
    </item>
  </channel>
</rss>

