AnsweredAssumed Answered

Javascript Api Identify Raster pixel value

Question asked by beakal on Aug 20, 2014
Latest reply on Mar 22, 2019 by kmsagis

I have this map loaded using the ArcGIS API

I want to let the user click on the raster layer and display the pixel value at that specific x,y location in a pop up window. While googling I found this example

explaining how to use IdentifyTask. Can I use this feature for a raster layer plus the data is already loaded do I need to make an extra request to get the values every time the user clicks on the layer?