[OpenLayers-Users] Correct layerUrls syntax

mcpiper mcpiper at rocketmail.com
Thu Jul 15 17:51:19 EDT 2010


Hi,
I'm using geowebcache and trying to get WMSgetFeatureInfo to work but
haven't been able to find an example of the correct syntax to use for the
layerUrls parameter. Can anyone set me on the right path?

var infoControl = {
	click: new OpenLayers.Control.WMSGetFeatureInfo({
		url: 'http://gis.npca.ca/geoserver/wms?',
		//layerUrls: [],
		title: 'Identify features by clicking',
		layers: [bederman, bedermanCX, cwelland, cwellandCX, towpath, towpathCX],
		queryVisible:true
	})
}

Thanks,
mcpiper
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Correct-layerUrls-syntax-tp5299551p5299551.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list