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

Zac Spitzer zac.spitzer at gmail.com
Mon Oct 6 21:59:24 EDT 2008


ah, I remember that.... is it a problem with mapguide or openlayers
being case sensistive?

On Tue, Oct 7, 2008 at 4:08 AM, carls <carlshe at 163.com> wrote:
>
>
> 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.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168



More information about the Users mailing list