Identify

801
5
05-30-2011 12:27 AM
MohammedIsmail
New Contributor
i want to display all active layers information when i click IDENTIFY option on map
(Ex:
layer1
layer2
layer3
layer4
layer5
-----
layer2 , layer3 and layer4 are active layers /selected layers)
Tags (2)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
MohammedIsmail
New Contributor
i have applied the Layer visble option but still am having the same problem

<esri:visibleLayers>

</esri:visibleLayers>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mohammed,

  The visibleLayers is only half of what you need to do... Next you will need to give the IdentifyParams the array of visible layers.

http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/supportClasses/ImageParameters.html...
0 Kudos
MohammedIsmail
New Contributor
the below code ihave used for layer visibility but it is displaying only top active layer its not showing the raster layer information.
   <esri:visibleLayers>
    <s:ArrayCollection>
     <fx:Number>1</fx:Number>
     <fx:Number>2</fx:Number>
     <!-- Show census block points only -->
    </s:ArrayCollection>
   </esri:visibleLayers>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mohammed,

   You need to get in a habit of posting the code you are having issues with so that so much time is not spent going back and forth on tiny snippets of code that don't mean much if we can see how you are using that code.
0 Kudos