[OpenLayers-Users] How to find Feature by Feature ID

Diego Guidi diegoguidi at gmail.com
Tue Mar 1 10:38:29 EST 2011


> is there any method to find a specific feature by featureID. If yes, can
> somebody help me by sending some code sample. if no such method available,
> then how we can do this ?
looks that vector layers have a method that can be useful to yoy:
http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Layer/Vector-js.html
see getFeatureById


More information about the Users mailing list