Hi Robert, See also: https://github.com/openlayers/openlayers/issues/661
Xavier Mamano dnbphysicist wrote > Thanks Alexandre. So my next question is, should this layer effect the z > index of the layers it 'contains'? It seems that unless it's the top most > layer (the container), that the vector layers are pushed below the other > WMS layers. > > On Wed, Feb 27, 2013 at 8:22 AM, Alexandre Dubé < > adube@ > > wrote: > >> Hi Robert, >> >> This layer is an OpenLayers.Layer.Vector.RootContainer object. It gets >> automatically created when you specify an array of layers to the >> SelectFeature control. In short, it was created to solve the "I can't >> click on vectors if they are not in the topmost layer" issue. You can >> read >> more about this in following ticket : >> >> http://trac.osgeo.org/openlayers/ticket/1666 >> >> HTH, >> >> Alexandre >> >> >> >> On 13-02-26 02:27 PM, Rob Hyx wrote: >> >> Hello all, >> >> I have multiple vector layers on my map, one being just a regular layer I >> plot GeoJSON to, while the others are KML layers. I have them both using >> the same OpenLayers.Control.SelectFeature object, and I noticed a >> 'phantom' >> layer that is now in the map.layers property called >> 'openlayers.control.selectfeature_ > <some number> > _container'. My question is, >> what is this layer? It seems to effect the z indexing of the KML layers, >> and by that I mean, if the z index of the container is under a raster >> layer, the KML features are also underneath. Does that make sense? >> >> Thanks in advance! >> >> _______________________________________________ >> Users mailing > [email protected] > ://lists.osgeo.org/mailman/listinfo/openlayers-users >> >> >> >> -- >> Alexandre Dubé >> Mapgearswww.mapgears.com >> >> >> _______________________________________________ >> Users mailing list >> > [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> >> > > > -- > *HYX* > http://hyx-music.com > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Multiple-Vector-Layers-tp5037078p5037545.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
