[mapserver-users] CGI-wrapper script on windows / openlayers wmsgetfeatureinfo

Morten Sickel Morten.Sickel at nrpa.no
Wed Feb 10 09:17:14 PST 2010


I have mapserver up and running, now I'm trying to use openlayers. Some simpler pars work fine, but when I get to OpenLayers.Control.WMSGetFeatureInfo I need to use a wrapper script to hide the map= parameter, but how to do that on windows? Or, is there some way to add the parameter? I have tried

querier = new OpenLayers.Control.WMSGetFeatureInfo({
			url: url,
			title: "Test",
			map:wmsfile,
			layers: [mobile],
			queryVisible: true
		});

where the wmsfile is a pointer to the wmsfile in the filesystem (works fine in OpenLayers.Layer.WMS) but when the query is sent, the map-parameter has not been taken into account.

Do I need a wrapper script, or have I overlooked something in openlayers?

Morten Sickel
Norwegian Radiation Protection Authority




More information about the MapServer-users mailing list