Hi,
 
I wouldn't take code from that example. It's a terrible hack by me to get
the functionality of set the active layer. I have only replaced the code of
the OpenLayers.LayerSwitcher without the right understanding what's going
on.
 
Arnd

  _____  

Von: [email protected] [mailto:[email protected]] Im
Auftrag von Mehmet Sirin
Gesendet: Montag, 26. Juli 2010 12:07
An: [email protected]
Betreff: Re: [OpenLayers-Users] Adding radiobuttons to LayerSwitcher


hi, 
that's exactly what I need! But I want use it with the layer-group function
. 
So now I have layer-grouping via :
http://www.cnblogs.com/iswszheng/archive/2009/12/15/1625069.html and
additional radiobuttons via
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/javascript/LayerSwi
tcherRadioReg.js
(http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/labels_radiobtn.ht
ml). Is there someone, who has time to merge these both functions (because
I'm not able of developing OL source code), so that every layer in the
layerswitcher with group functionality has a radiobutton ?

...would be awesome :)


2010/7/26 C. Mark | Geo-bit <[email protected]>


Hi,

I know this example, maybe that is what you want.

http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/labels_radiobtn.htm
l






Am 26.07.2010 00:07, schrieb Mehmet Sirin: 

Hi,



when adding a layer to the map, it is displayed with a checkbox in the

layerswitcher. Now I want to add radiobuttons right to the layernames in

layerswitcher. And then, when selecting one of them, a event should occur.

Yes I know there is Geoext for stuff like this, but after I looked at the

LayerTree example and didn't understand a thing... I want to stay with

OpenLayers.

which possibilities are there to realize this with OL?



I hope you have any ideas..









regards



  


_______________________________________________

Users mailing list

[email protected]

http://openlayers.org/mailman/listinfo/users

  



_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to