[OpenLayers-Dev] Base Layer vs. Main layer

Christopher Schmidt crschmidt at metacarta.com
Wed Nov 19 15:18:07 EST 2008


On Wed, Nov 19, 2008 at 08:43:03PM +0100, Kenneth Skovhede, GEOGRAF A/S wrote:
> Hmm... a bit counter intuitive, but I guess that would actually work.
> So all layers would be "overlays" with respect to OpenLayers.

Right. A Base layer is just a layer that is mutually exclusive with all
other base layers, in a layer group which must always be turned on. 

Since you don't seem to have an interest in a layer group that's:
 * At the bottom
 * Mutually exclusive with other layers in the group
 * Always on

There is no reason to use what OpenLayers currently calls a baseLayer.  

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list