I have a vector layer where some features are found entirely within other features and therefore I can't select that feature because the other feature is on top of it. Is there a way to reverse the order of the features of a vector layer after they have already been loaded? This will likely solve about 99% of issues that may occur with my mouseover popup.
Edit to add code:
I'm trying to do this on demand after the layer is already loaded.
var refreshStrategy = new OpenLayers.Strategy.Refresh( {
interval : 60 * 1000
});
var vLayer = new OpenLayers.Layer.Vector("Hazards with Population",
{
projection : "EPSG:4326",
strategies : [new OpenLayers.Strategy.Fixed(), refreshStrategy],
protocol : new OpenLayers.Protocol.HTTP(
{
url : "./getFeatures.php",
format : new OpenLayers.Format.GeoJSON(),
rendererOptions : {
zIndexing : true
}
})
});