[OpenLayers-Users] How to add WMS Layer published by MapGuide
carls
carlshe at 163.com
Mon Oct 6 13:08:12 EDT 2008
Thank you all.
I found the solution,
just add a layer parameter (not an option) 'transparent' with value of
'TRUE' in UpperCase.
carls wrote:
>
> 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-tp1298795p1301396.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list