Hey I got the solution. I am using two events to get the bounding box after
every pan/zoom.
map.events.register('zoomend', null, function() {
test =map.getExtent().transform('EPSG:900913','EPSG:4326');
alert (test);
});
map.events.register("moveend", map, function() {
test= map.getExtent().transform('EPSG:900913','EPSG:4326');
alert(test);
});
Thanks
Aditya Kumar
-----
GIS Developer
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Bounding-box-after-every-pan-tp5082788p5083052.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users