[mapserver-users] snap-to scale

Joe Bussell joe at otsys.com
Fri May 17 14:55:16 EDT 2002


On Thu, May 16, 2002 at 01:18:24PM -0500, Puneet Kishor wrote:

<snip> 
> seems like a reasonable solution. keep in mind though, your scales will 
> change depending on the screen resolution of the client and the size of 
> the mapimage. I have setup a zoom bar that doesn't go to preset scales 
> but computes any scale between 1 and maxscale on the fly. The 
>
<snip>

I use Span * imgPixels / rasterPixels to adjust for the client's view.

Joe Bussell
On Time Systems




More information about the mapserver-users mailing list