[OpenLayers-Users] Loading WMC layers at overlays?

Van Ulden, Joost jvanulde at nrcan.gc.ca
Wed Aug 6 17:55:12 EDT 2008


Thanks John, that works.  Now I need to know how to convert all of the layers in my WMC to overlay's.  Any ideas?

-----Original Message-----
From: John Pulles [mailto:john.pulles at gmail.com]
Sent: Wed 06/08/2008 2:49 PM
To: Van Ulden, Joost
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Loading WMC layers at overlays?
 
2008/8/6 jvanulde <jvanulde at nrcan.gc.ca>

>
> Is this possible?  I want to add a fake base layer and load all the WMC
> layers as overlays.  Any ideas on how one would go about doing this?


You can add a fake base layer with

map.addLayer(new OpenLayers.Layer('None', {isBaseLayer: true}));

Regards,
John


>
> --
> View this message in context:
> http://www.nabble.com/Loading-WMC-layers-at-overlays--tp18859376p18859376.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
>




More information about the Users mailing list