[OpenLayers-Users] How to add WMS Layer published by MapGuide

carls carlshe at 163.com
Sun Oct 5 12:16:29 EDT 2008


I found it,

layer = new OpenLayers.Layer.WMS('MapGuide WMS',
'http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin',
{ layers: 'Archives/Background/Layers/Blocks' }, optionswms);
	            
the key point is that I lost 'username' and 'password' in the url.

but another problem:
  how to set the returned image as transparent?
-- 
View this message in context: http://n2.nabble.com/How-to-add-WMS-Layer-published-by-MapGuide-tp1298795p1298983.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list