[OpenLayers-Users] select by id or fid
Francesco Geri
francescogeri at yahoo.it
Wed Jun 27 05:00:41 PDT 2012
Hello,
I try to automatically select a feature in a vector layer based on its fid (is a gml vector layer). An apparently simple task. I try with:
feature = layer.getFeatureByFid(fidselect);
select_feature.select(feature);
but firebug report "feature is null).
Where am I going wrong?
Thanks!
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120627/d65a2344/attachment.html>
More information about the Users
mailing list