<div dir='ltr'>
<br>Hello Thomas, thanks for your answer, I copied the 45 lines of the layerswitcher in /theme/default/style.css and rename them by measure (eg. .olControlMeasure), 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><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 24 May 2012 21:26:54 -0700<br>From: <a href="/user/SendEmail.jtp?type=node&node=4977163&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><br>To: <a href="/user/SendEmail.jtp?type=node&node=4977163&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>Subject: AW: [OpenLayers-Users] Re: I want to put "measure" code as layer switcher<br><br>

        Hi,
<br>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><br>Thomas
<br><br><br>-----Ursprüngliche Nachricht-----
<br>Von: <a href="http:///user/SendEmail.jtp?type=node&amp;node=4976807&amp;i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a> [mailto:<a href="http:///user/SendEmail.jtp?type=node&amp;node=4976807&amp;i=1" rel="nofollow" target="_blank" link="external">[hidden email]</a>] Im Auftrag von Gery
<br>Gesendet: Donnerstag, 24. Mai 2012 23:07
<br>An: <a href="http:///user/SendEmail.jtp?type=node&amp;node=4976807&amp;i=2" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<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: <a href="http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976753.html" rel="nofollow" target="_blank" link="external">http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976753.html</a><br>Sent from the OpenLayers Users mailing list archive at Nabble.com.
<br>_______________________________________________
<br>Users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&amp;node=4976807&amp;i=3" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" target="_blank" link="external">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>_______________________________________________
<br>Users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&amp;node=4976807&amp;i=4" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" target="_blank" link="external">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
        
        <br>
        <br>
        <hr color="#cccccc" size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976807.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976807.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em">
                
                To unsubscribe from I want to put "measure" code as layer switcher, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble:email.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble:email.naml-instant_emails%21nabble:email.naml-send_instant_email%21nabble:email.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div>                                               </div>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4977163.html">RE: AW: [OpenLayers-Users] Re: I want to put &quot;measure&quot; code as layer switcher</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>