<div dir="ltr"><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Yes. This is what I was looking at.</font></font></font><div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><br>

</font></font></font></div><div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Thanks for that Arnd and Franz.</font></font></font></div><div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><br>

</font></font></font></div><div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Cheers,<br></font></font></font><br><div class="gmail_quote">On Wed, Aug 4, 2010 at 7:11 PM, Arnd Wippermann <span dir="ltr">&lt;<a href="mailto:arnd.wippermann@web.de">arnd.wippermann@web.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>you mean this?</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial">var 
winWidth   = map.getSize().w;<br>var winHeight  = 
map.getSize().h;<br></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><a href="http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html" target="_blank">http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html</a></font></div>


<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><span><font color="#0000ff" size="2" face="Arial">Arnd</font></span></div>
<div><br></div>
<div dir="ltr" lang="de" align="left">
<hr>
<font size="2" face="Tahoma"><b>Von:</b> <a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a> 
[mailto:<a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>] <b>Im Auftrag von </b>Kalyan 
Kamepalli<br><b>Gesendet:</b> Mittwoch, 4. August 2010 08:39<br><b>An:</b> 
<a href="mailto:users@openlayers.org" target="_blank">users@openlayers.org</a><br><b>Betreff:</b> Re: [OpenLayers-Users] Current Map 
Bounds &amp; Width, Height<br></font><br></div><div><div></div><div class="h5">
<div></div>
<div dir="ltr"><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Sorry. </font></font></font>
<div><font size="2"></font><font color="#000099" face="arial, helvetica, sans-serif"><br></font>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">used 
getExtent on wrong instance. I used it on Layer not on map. Now used on map 
instance and It worked. </font></font></font></div>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">But, 
I could not find any functions to get the width and height values of current 
map.</font></font></font></div>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><br></font></font></font></div>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Any 
suggestions and help are much appreciated.</font></font></font></div>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><br></font></font></font></div>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Thanks,</font></font></font></div>
<div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Kalyan.<br></font></font></font><br>
<div class="gmail_quote">On Wed, Aug 4, 2010 at 4:28 PM, Kalyan Kamepalli <span dir="ltr">&lt;<a href="mailto:kalyan.kamepalli@gmail.com" target="_blank">kalyan.kamepalli@gmail.com</a>&gt;</span> 
wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
  <div dir="ltr"><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Hi,</font></font></font>
  <div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><br></font></font></font></div>
  <div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">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 
  ?? </font></font></font></div>
  <div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><br></font></font></font></div>
  <div><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif"><span style="font-family:Verdana, Arial, sans-serif;color:rgb(0,0,0);font-size:13px">
  <table style="width:955px;font-size:9pt" border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
      <td style="padding-left:3ex;width:266px;vertical-align:top"></td>
      <td style="padding-left:5ex;width:633px;vertical-align:top"><br><br><br><br><br></td></tr></tbody></table></span></font></font></font></div></div></blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div></div>