[OpenLayers-Users] rootContainer and selectFeature on many layers

Simo D simone.dalmasso at gmail.com
Tue May 19 10:46:15 EDT 2009


Hi, I have the same problem. I upgraded the SelectFeature and RootContainer
from the trunk in order to have custom popups on multiple GML layers. But
unfortunately this trick works only in Safari 4.
It's also interesting for me to find a solution to this issue.

Simone


Simone Gadenz wrote:
> 
> Hello! After one message on the list couple of days ago I tried to use the
> root container to enable the selectfeature on a set of defined GML layers.
> Has anybody managed to use the rootContainer that is into the trunk?
> 
> Currently I defined the selectfeature using the following code:
> 
> var ctrl_rootlayer = new
> OpenLayers.Control.SelectFeature([a,b,c],function());
> map.addControl(ctrl_rootlayer);
> ctrl_rootlayer.activate();
> 
> The root layer is empty in the produced container (according to firebug).
> 
> Cheers
> 
> Simone
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Re%3A-Is-it-possible-to-get-openlayers-version-2.8--tp2886380p2939981.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list