<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Hello Thomas, thanks for your answer, I copied the 45 lines of the 
layerswitcher in /theme/default/style.css and renamed them by measure 
(eg. .olControlGH), but it seems that it is not enough, I added 
also this line to my html:<br><br>map.addControl(new OpenLayers.Control.GH());<br><br>but I get a white page and firebug says: OpenLayers.Control.GH is not a constructor<br><br>what does that mean? I expected&nbsp; to have a cross (like the one in LayerSwitcher) just 20px below the layerswitcher:<br>.olControlGH {<br>....a lot of stuff....<br>top: 5px}<br>....a lot of stuff....<br>}<br><br>Gery<br><br><br><div><div id="SkyDrivePlaceholder"></div>&gt; From: Thomas.Waberzeck@liag-hannover.de<br>&gt; To: gamejihou@hotmail.com<br>&gt; CC: openlayers-users@lists.osgeo.org<br>&gt; Subject: AW: [OpenLayers-Users] Re: I want to put "measure" code as layer        switcher<br>&gt; Date: Fri, 25 May 2012 04:25:22 +0000<br>&gt; <br>&gt; Hi,<br>&gt; it's just an issue of using css? I think you have to create some &lt;div&gt; in the same way like the layerswicher or the overview control.<br>&gt; <br>&gt; Thomas<br>&gt; <br>&gt; <br>&gt; -----Ursprüngliche Nachricht-----<br>&gt; Von: openlayers-users-bounces@lists.osgeo.org [mailto:openlayers-users-bounces@lists.osgeo.org] Im Auftrag von Gery<br>&gt; Gesendet: Donnerstag, 24. Mai 2012 23:07<br>&gt; An: openlayers-users@lists.osgeo.org<br>&gt; Betreff: [OpenLayers-Users] Re: I want to put "measure" code as layer switcher<br>&gt; <br>&gt; Anybody that could help me here? hellooo?<br>&gt; <br>&gt; --<br>&gt; View this message in context: http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976753.html<br>&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; Users@lists.osgeo.org<br>&gt; http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></div>                                               </div></body>
</html>