found the solution, it was just to use feature.geometry.id and if/else with a like operator, hecking simple and beautiful, thanks OL geniuses -- View this message in context: http://osgeo-org.1560.n6.nabble.com/zoom-according-to-feature-s-sizes-tp5035531p5035606.html Sent from the OpenLayers Users mailing list archive at Nabble.com.