openlayers/openlayers — comment on commit d387add3e2b2adace3e82ef5c6380cdecb1bafa1
File:  line 0
By probins:

I think your comment about the scale parameter is a bit misleading. I know what you mean, but it implies that you can increase the size to 1280x1280, which you can't. The maximum div and image size is 640x640 regardless of what scale is set to. It looks like the server accepts sizes above the max, but returns a chopped image limited to 640, which the browser will then stretch to fit the div. This may be ok for some display purposes, but is no good for vector overlays, as they will appear to be in the wrong place on the distorted map.

Thanks for this example, though; it's ideal for use in smartphones, which only have a small viewport anyway.