<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
The layers order within the container shouldn't be affected by
it and yes, if that layer container should be the top-most layer
if your vector layers are added last (please, someone correct me
if I'm wrong).<br>
<br>
You could provide some code or a live example if you have an
issue with this. It would be easier for us to help more.<br>
<br>
Regards,<br>
<br>
Alexandre<br>
<br>
<br>
On 13-02-27 11:15 AM, Rob Hyx wrote:<br>
</div>
<blockquote
cite="mid:CAF-PjvxyT71+-9oUoVF5SL4FtGyn+Ycj_ojO6u_tF78NMoxw0Q@mail.gmail.com"
type="cite">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.<br>
<br>
<div class="gmail_quote">On Wed, Feb 27, 2013 at 8:22 AM,
Alexandre Dubé <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:adube@mapgears.com" target="_blank">adube@mapgears.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Robert,<br>
<br>
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 :<br>
<br>
<a moz-do-not-send="true"
href="http://trac.osgeo.org/openlayers/ticket/1666"
target="_blank">http://trac.osgeo.org/openlayers/ticket/1666</a><br>
<br>
HTH,<br>
<br>
Alexandre
<div>
<div class="h5"><br>
<br>
<br>
On 13-02-26 02:27 PM, Rob Hyx wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">Hello all,<br>
<br>
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?<br>
<br>
Thanks in advance! <br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<br>
<pre cols="72">--
Alexandre Dubé
Mapgears
<a moz-do-not-send="true" href="http://www.mapgears.com" target="_blank">www.mapgears.com</a>
</pre>
</font></span></div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/openlayers-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div style="text-align:left"><b>HYX</b> </div>
<div style="text-align:left"><a moz-do-not-send="true"
href="http://hyx-music.com" target="_blank">http://hyx-music.com</a></div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
</body>
</html>