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:
map.addControl(new OpenLayers.Control.GH());
but I get a white page and firebug says: OpenLayers.Control.GH is not a
constructor
what does that mean? I expected to have a cross (like the one in
LayerSwitcher) just 20px below the layerswitcher:
.olControlGH {
....a lot of stuff....
top: 5px}
....a lot of stuff....
}
Gery
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: AW: [OpenLayers-Users] Re: I want to put "measure" code as layer
> switcher
> Date: Fri, 25 May 2012 04:25:22 +0000
>
> Hi,
> 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.
>
> Thomas
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Gery
> Gesendet: Donnerstag, 24. Mai 2012 23:07
> An: [email protected]
> Betreff: [OpenLayers-Users] Re: I want to put "measure" code as layer switcher
>
> Anybody that could help me here? hellooo?
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/I-want-to-put-measure-code-as-layer-switcher-tp4976721p4976753.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users