AnsweredAssumed Answered

infotemplate displays incorrect layer

Question asked by fcardone on Jan 28, 2015
Latest reply on Jan 28, 2015 by khutchins-esristaff

i have a web map built using the ArcGIS JavaScript API, and it contains 6 point layers.  Each layer has its own infotemplate, but each layer uses the same popup template.  When i click on a point to see its infotemplate, it displays the infotemplate, but it says something like (1 of 11) at the top, even though i only clicked on one.  The weird part is that the number of infotemplates is the number of total features in the other point layers.  For example, if i have 6 layers and each layer has 10 features, and i click on one point in Layer A, it displays (1 of 51) at the top because it counts the current feature plus all the features of the other layers.  Any idea what is happening?