ArcGIS JavaScript API sample to display the current Lat Lng
Click a location on the map to fetch itsLatitude Longitude