On Sep 14, 2010, at 6:06 AM, ext P Kishor wrote:
> The image returned when singleTile: true is 1200 x 600 px. I can't
> figure out where this is set. There is a method called getImageSize()
> referenced in the getURL() method in the WMS constructor, but I can't
> figure out where this 1200x600 value is hard-coded and how I can
> override this.
This isn't hardcoded. Presumably your map div is 800 x 400, and your
ratio is set to the default of 1.5 (a buffer to increase the size and
make more dragging room available).
-- Chris
>
> getURL: function (bounds) {
> bounds = this.adjustBounds(bounds);
>
> var imageSize = this.getImageSize();
>
>
> There is also the OpenLayers.Size constructor, but that refers to tile
> size... is that the place? What is the best way?
>
> --
> Puneet Kishor
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users