Hi,
is it possible that the clone() method of OL.Layer.Vector clones the
features but forgets to set the layer attribute of each feature to the
cloned layer?
I had the problem, that I couldn't modify the features in the new layer
until I wrote the following code after cloning:
for (var t = 0; t < newLayer.features.length; t++) {
newLayer.features[t].layer = newLayer;
}
It's a bug or a feature?
--
-----------------------------------------------
Slawomir Messner
Forschungszentrum "Deutscher Sprachatlas"
06421-28-24981
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users