<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Using ol 2.12 with different layers configured in three different mapfiles on the same mapserver 6.x, Ubuntu 12.04.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><feature info></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color: transparent;"><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">new
 OpenLayers.Control.WMSGetFeatureInfo({</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                            url: "http://"+ wms_hostname +"/cgi-bin/mapserv?map="+mapfile_path, </font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                            title: 'Identify features by clicking',</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                            drillDown: true,</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                 
           infoFormat:'text/html',</font></div><div style="background-color: transparent;"><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent;">                            click: 'true',</span><br></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                            queryVisible: true,</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                            eventListeners: {</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                   
             getfeatureinfo: function(event) {</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                    map.addPopup(new OpenLayers.Popup.FramedCloud(</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                        "chicken", </font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                        map.getLonLatFromPixel(event.xy),</font></div><div style="background-color:
 transparent;"><font face="times new roman, new york, times, serif">                                        null,</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                        event.text,</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                        null,</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                   
     true</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                    ));</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                    }</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                                }</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">                            }), // fine
 getfeatureinfo</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><font face="times new roman, new york, times, serif"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><font face="times new roman, new york, times, serif"></feature info></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><font face="times new roman, new york, times, serif"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">When I made a featureinfo query I can see 4 http request to my django
 proxy, using console debug.</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Just the first request populates my FramedCloud, the second and the others: nothing to do, but they works ! </div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">If I copy n paste the request urls I can see, for the second request, the http-response with formatted html template.</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">The third and fourth aren't querable so I
 get the WMS message  that explain this.</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">How could  I wait for all the response and merge them into one single pop-up ?</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style:
 normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><font face="times new roman, new york, times, serif"><br></font></div></div></div></body></html>