[OpenLayers-Dev] Custom layer switchers

Phil Scadden p.scadden at gns.cri.nz
Tue Feb 25 11:37:41 PST 2014

> 1) I have several layers in a layer switcher. I would like to attach 
> custom behavior to the layers
> - attach an URL to each of them
> - show a tip while mousing over
> - etc.
> How should I proceed
> 2) How can I have two or three different layer switchers and control 
> which layer goes in each switcher?

I would strongly consider looking at using GeoExt on top OL and using 
the layer tree. (Example at
http://data.gns.cri.nz/dataportal/ - free registration required but then 
look at the interactive maps).

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20140226/9d246ad0/attachment.html>

More information about the Dev mailing list