Using ol 2.12 with different layers configured in three different mapfiles on
the same mapserver 6.x, Ubuntu 12.04.
<feature info>
new OpenLayers.Control.WMSGetFeatureInfo({
url: "http://"+ wms_hostname
+"/cgi-bin/mapserv?map="+mapfile_path,
title: 'Identify features by clicking',
drillDown: true,
infoFormat:'text/html',
click: 'true',
queryVisible: true,
eventListeners: {
getfeatureinfo: function(event) {
map.addPopup(new
OpenLayers.Popup.FramedCloud(
"chicken",
map.getLonLatFromPixel(event.xy),
null,
event.text,
null,
true
));
}
}
}), // fine getfeatureinfo
</feature info>
When I made a featureinfo query I can see 4 http request to my django proxy,
using console debug.
Just the first request populates my FramedCloud, the second and the others:
nothing to do, but they works !
If I copy n paste the request urls I can see, for the second request, the
http-response with formatted html template.
The third and fourth aren't querable so I get the WMS message that explain
this.
How could I wait for all the response and merge them into one single pop-up ?
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users