How to return current location X/Y?

Discussion created by cdmartin on May 22, 2014
Latest reply on May 26, 2014 by pepatosp

I am working on a little mini-webmap that uses a LocateButton to zoom to my current-ish location.  I also have a function that queries a cell from a raster that is provided via a published service.  How can I get the X/Y of the location the LocateButton places me at?  Would there be a better method of doing this?  I'm open to suggestions.

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.