[OpenLayers-Users] Correct layerUrls syntax

Andreas Hocevar ahocevar at opengeo.org
Fri Jul 16 02:51:17 EDT 2010


Hi,

this thread should answer your question:
http://getsatisfaction.com/opengeo/topics/error_in_wmsgetfeatureinfo

Regards,
Andreas.

On Jul 15, 2010, at 23:51 , mcpiper wrote:

> 
> 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.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list