Hi,
I've the necessity to grep features from my VectorLayer on basis of a
attribute. As it is now, I have to go through all the features and check
their attribute:
var features = []
for(key in vectorLayer.features) {
if (vectorLayer.features[key].attributes.type == 'something')
features.push(layerRouting.features[key]);
}
Could it be interessting to have such Feature (getFeaturesByAttribute)
in a offical Release for OpenLayers?
Best regards,
Daniel
--
Daniel Degasperi
Software Developer
daniel.degasp...@r3-gis.com
---------------------------
R3 GIS Srl
Via Johann Kravogl 2
I-39010 Merano - Sinigo (BZ)
Tel. +39 0473 494949
Fax. +39 0473 069902
Web http://www.r3-gis.com
-----------------------------
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users