<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 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>> From: Thomas.Waberzeck@liag-hannover.de<br>> To: gamejihou@hotmail.com<br>> CC: openlayers-users@lists.osgeo.org<br>> Subject: AW: [OpenLayers-Users] Re: I want to put "measure" code as layer        switcher<br>> Date: Fri, 25 May 2012 04:25:22 +0000<br>> <br>> Hi,<br>> it's just an issue of using css? I think you have to create some <div> in the same way like the layerswicher or the overview control.<br>> <br>> Thomas<br>> <br>> <br>> -----Ursprüngliche Nachricht-----<br>> Von: openlayers-users-bounces@lists.osgeo.org [mailto:openlayers-users-bounces@lists.osgeo.org] Im Auftrag von Gery<br>> Gesendet: Donnerstag, 24. Mai 2012 23:07<br>> An: openlayers-users@lists.osgeo.org<br>> Betreff: [OpenLayers-Users] Re: I want to put "measure" code as layer switcher<br>> <br>> Anybody that could help me here? hellooo?<br>> <br>> --<br>> View this message in context: http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976753.html<br>> Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></div>                                            </div></body>
</html>