Hi! For example: features = map.layers[1].features; for (var i = 0; i<features.length; i++) { if (features[i].geometry.getBounds().intersectsBounds(map.getExtent())) { console.log(features[i]); } }
----- Denis Rykov NextGIS http://www.nextgis.org/ -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Openlayers-Check-the-map-content-and-tell-if-the-feature-exists-in-the-map-bound-tp6776147p6778642.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev