[OpenLayers-Dev] Popups on different GML Layers with SelectFeature

Simo D simone.dalmasso at gmail.com
Fri May 15 09:13:28 EDT 2009


Hi, I'm trying to use the new trunk SelectFeature and RootContainer to add
custom popups on three different GML layers.
Now I'm passing the layers as an array to the SelectFeature constructor. But
nothing changes from the 2.7 api, in most browsers (except for safari 4),
the popups don't show.
This is the code:
var popups = new
OpenLayers.Control.SelectFeature([gdacs_earth,gdacs_cyclones,gdacs_floods],
GeorssPopups.init());
	map.addControl(popups);
	popups.activate();


GeorssPopups implements the onSelect and onUnselect events.

Is still there something wrong in my code?

Thanks in advance.

Simone
-- 
View this message in context: http://n2.nabble.com/Popups-on-different-GML-Layers-with-SelectFeature-tp2907685p2907685.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.




More information about the Dev mailing list