[OpenLayers-Users] Multi Selectable Vector layers

Christopher Schmidt crschmidt at metacarta.com
Thu May 21 18:34:52 EDT 2009


On Fri, May 22, 2009 at 10:20:55AM +1200, Jeremy Husmann wrote:
> Great, thanks for the Chris.
> 
> I was looking in to the OpenLayers.Layer.Vector.RootContainer to see if
> I could use this, but was unsure if it would work? Or be displayed in
> the layer control as a option or not?

It's used internally to the SelectFeature Control with multiple layers.
You shouldn't need to use it yourself for any reason. 


> Cheers,
> Jeremy
> 
> -----Original Message-----
> From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
> Sent: Friday, May 22, 2009 10:19 AM
> To: Jeremy Husmann
> Cc: users at openlayers.org
> Subject: Re: [OpenLayers-Users] Multi Selectable Vector layers
> 
> On Fri, May 22, 2009 at 09:56:07AM +1200, Jeremy Husmann wrote:
> > Hi everyone,
> > 
> >  
> > 
> > Sorry if I have mailed the wrong list, or missed this completely in
> the
> > documentation. First post.
> > 
> >  
> > 
> > Im currently trying to figure out the best approach to have multiple
> > vector layers selectable.
> > 
> >  
> > 
> > From what I see I have two options:
> > 
> > *	Have one select control to manage both layers.
> 
> This is the only option for selecting multiple layers at once, and is
> only available in trunk/2.8 RCs.
> 
> -- Chris
> 
> > *	Have one select control for each vector layer.
> > 
> >  
> > 
> > Before I try each approach it would be great if I could get some
> > steering direction from anyone that has dealt with this in the past?
> > 
> >  
> > 
> > Cheers guys,
> > 
> >  
> > 
> > Jeremy
> > 
> >  
> > 
> 
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> 
> 
> -- 
> Christopher Schmidt
> MetaCarta

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list