Hi
,
I have an Ol wmsgetfeature info tool in my page:
var info = new OpenLayers.Control.WMSGetFeatureInfo({
url:
'/cgi-bin/mapserv564agg?map=/var/www/mapdata/projects/calipc/ca_base_v2.map',
title: 'Identify features by clicking',
queryVisible: true,
layers: [observations],
vendorParams: {'WEEDSQL':obquerystring1}, //{WEEDSQL: "species_id =
1"},
eventListeners: {
getfeatureinfo: function(event) {
map.addPopup(new OpenLayers.Popup.FramedCloud(
"manzana",
map.getLonLatFromPixel(event.xy),
null,
event.text,
null,
true
));
}
}
});
I need to have it update the vendor parameter ( see above) - which at the
moment is a JS global variable obquerystring1. However my request always uses
the original default I set before and does not send the new parameters e.g.
when I update the global variable . What do I need to do to update the vendor
parameter ?
Karsten
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users