So I still can't figure this out.. I have tried to declare an empty vector
layer like -
var query_layer = new OpenLayers.Layer.Vector("Query Results");
and then use query_layer.addFeatures(grid) to add all my grid features to
the layer. Except when I try to use query_layer.getDataExtent() after adding
several features to it.. it just returns null. There has to be a better way
for me to get multiple vector features to show correctly.. anyone?
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Cannot-remove-vector-layer-from-map-this-layer-is-null-tp5936006p5937042.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