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)?
var size = this.getSize();<Returns view port size> var w_deg = size.w * resolution; var h_deg = size.h * resolution; extent = new OpenLayers.Bounds(center.lon - w_deg / 2, center.lat - h_deg / 2, center.lon + w_deg / 2, center.lat + h_deg / 2); -- Cheers, Abhi
_______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev