<?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 return current location X/Y? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-current-location-x-y/m-p/477305#M44333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am working on a little mini-webmap that uses a LocateButton to zoom to my current-ish location.&amp;nbsp; I also have a function that queries a cell from a raster that is provided via a published service.&amp;nbsp; How can I get the X/Y of the location the LocateButton places me at?&amp;nbsp; Would there be a better method of doing this?&amp;nbsp; I'm open to suggestions.&lt;BR /&gt;&lt;BR /&gt;Essentially I'd like a user to click the button and a modal window opens with the results of the query for the given location.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the position property on the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/locatebutton-amd.html#event-locate"&gt;locate event&lt;/A&gt;&lt;SPAN&gt; should work for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roberto Pepato&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2014 11:38:23 GMT</pubDate>
    <dc:creator>RobertoPepato</dc:creator>
    <dc:date>2014-05-26T11:38:23Z</dc:date>
    <item>
      <title>How to return current location X/Y?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-current-location-x-y/m-p/477304#M44332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on a little mini-webmap that uses a LocateButton to zoom to my current-ish location.&amp;nbsp; I also have a function that queries a cell from a raster that is provided via a published service.&amp;nbsp; How can I get the X/Y of the location the LocateButton places me at?&amp;nbsp; Would there be a better method of doing this?&amp;nbsp; I'm open to suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Essentially I'd like a user to click the button and a modal window opens with the results of the query for the given location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 19:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-current-location-x-y/m-p/477304#M44332</guid>
      <dc:creator>ChrisMartin3</dc:creator>
      <dc:date>2014-05-22T19:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to return current location X/Y?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-current-location-x-y/m-p/477305#M44333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am working on a little mini-webmap that uses a LocateButton to zoom to my current-ish location.&amp;nbsp; I also have a function that queries a cell from a raster that is provided via a published service.&amp;nbsp; How can I get the X/Y of the location the LocateButton places me at?&amp;nbsp; Would there be a better method of doing this?&amp;nbsp; I'm open to suggestions.&lt;BR /&gt;&lt;BR /&gt;Essentially I'd like a user to click the button and a modal window opens with the results of the query for the given location.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the position property on the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/locatebutton-amd.html#event-locate"&gt;locate event&lt;/A&gt;&lt;SPAN&gt; should work for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roberto Pepato&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:38:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-current-location-x-y/m-p/477305#M44333</guid>
      <dc:creator>RobertoPepato</dc:creator>
      <dc:date>2014-05-26T11:38:23Z</dc:date>
    </item>
  </channel>
</rss>

