<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Thank you this reply. Your application is amazing.<br>
I forgot to mention that I would like to customize switcher layers with ol3js. Is it possible?<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span>---------<br>
<a name="_MailAutoSig"><span style=""></span></a>With best regards - Avec mes meilleures salutations,<br>
Pierre Lacroix, PhD.<br>
<span style="font-style:italic">Scientific Collaborator</span> - University of Geneva - Pole in Environmental Sciences<br>
<span style="font-style:italic">GIS Analyst </span>- United Nations Environment Programme - UNEP/DEWA/GRID-Geneva<br>
<a href="http://www.unige.ch/envirospace" target="_blank">http://www.unige.ch/envirospace</a>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF621597" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>De :</b> openlayers-dev-bounces@lists.osgeo.org [openlayers-dev-bounces@lists.osgeo.org] de la part de Phil Scadden [p.scadden@gns.cri.nz]<br>
<b>Envoyé :</b> mardi 25 février 2014 20:37<br>
<b>À :</b> openlayers-dev@lists.osgeo.org<br>
<b>Objet :</b> Re: [OpenLayers-Dev] Custom layer switchers<br>
</font><br>
</div>
<div></div>
<div><br>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">1) I have several layers in a layer switcher. I would like to attach custom behavior to the layers<br>
- attach an URL to each of them<br>
- show a tip while mousing over<br>
- etc.<br>
<br>
How should I proceed<br>
<br>
2) How can I have two or three different layer switchers and control which layer goes in each switcher?</div>
</blockquote>
<br>
I would strongly consider looking at using GeoExt on top OL and using the layer tree. (Example at<br>
<a class="moz-txt-link-freetext" href="http://data.gns.cri.nz/dataportal/" target="_blank">http://data.gns.cri.nz/dataportal/</a> - free registration required but then look at the interactive maps).<br>
<div>
<div style="border-top:solid 1px black; border-bottom:solid 1px black; padding:10px 0; margin:20px 0; font-size:8pt; font-family:Verdana,Arial,Helvetica,sans-serif">
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.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>