[OpenLayers-Users] Multiple Vector Layers

Rob Hyx robhyx at gmail.com
Tue Feb 26 11:27:46 PST 2013


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130226/1f868ef9/attachment-0001.html>


More information about the Users mailing list