[OpenLayers-Users] Current Map Bounds Width, Height

2010-08-04 Thread Kalyan Kamepalli
Hi, How to get the current map bounds given that I have map object handle. The map API says getExtent returns the current view port bounds in lat lon. But, When I used this function , I get undefined. Is there any other options to get current map bounds and height , width values ??

Re: [OpenLayers-Users] Current Map Bounds Width, Height

2010-08-04 Thread Kalyan Kamepalli
Sorry. used getExtent on wrong instance. I used it on Layer not on map. Now used on map instance and It worked. But, I could not find any functions to get the width and height values of current map. Any suggestions and help are much appreciated. Thanks, Kalyan. On Wed, Aug 4, 2010 at 4:28 PM,

Re: [OpenLayers-Users] Current Map Bounds Width, Height

2010-08-04 Thread Arnd Wippermann
Kamepalli Gesendet: Mittwoch, 4. August 2010 08:39 An: users@openlayers.org Betreff: Re: [OpenLayers-Users] Current Map Bounds Width, Height Sorry. used getExtent on wrong instance. I used it on Layer not on map. Now used on map instance and It worked. But, I could not find any functions

Re: [OpenLayers-Users] Current Map Bounds Width, Height

2010-08-04 Thread Kalyan Kamepalli
-Users] Current Map Bounds Width, Height Sorry. used getExtent on wrong instance. I used it on Layer not on map. Now used on map instance and It worked. But, I could not find any functions to get the width and height values of current map. Any suggestions and help are much appreciated