Can someone please tell me or point me to some literature that explains the logic behind the below piece of code (Taken from calculateBounds method of Map class)?<br><br>var size = this.getSize();<Returns view port size><br>
var w_deg = size.w * resolution;<br>var h_deg = size.h * resolution;<br>extent = new OpenLayers.Bounds(center.lon - w_deg / 2,<br> center.lat - h_deg / 2,<br> center.lon + w_deg / 2,<br>
center.lat + h_deg / 2);<br clear="all"><br>-- <br>Cheers,<br>Abhi<br>