songissimo

Multiple Feature in the "Info" Popup

Discussion created by songissimo on Mar 27, 2012
Latest reply on Apr 2, 2012 by cwilcomb
Hi everybody,
   I'm facing an issue with the Popup window. When I click on a layer with multiple overlapped features I'm not able to display in the same popup window the information related to these features (allowing the user to slide the information for the different overlapped features with arrows button like in the following example http://help.arcgis.com/en/webapi/javascript/arcgis/demos/fl/fl_popup.html). I'm using the following code to do this:

dojo.connect(featLayer, "onClick", function (evt) {
                        map.infoWindow.setFeatures([evt.graphic]);
                        map.infoWindow.show(evt.mapPoint);
});


It is able to find all the overlapped features but not to set the correct visualization of their information in the popup.

How can I sort out this issue?

Thank you everybody.

Outcomes