On Fri, May 15, 2009 at 06:13:28AM -0700, Simo D wrote: > > 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?
It's hard to tell, since there's no information here about the *rest* of your code. Can you give a link? -- Chris > 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. > > _______________________________________________ > Dev mailing list > Dev@openlayers.org > http://openlayers.org/mailman/listinfo/dev -- Christopher Schmidt MetaCarta _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev