[Mapserver-users] zoom to user scale
Daniel Morissette
morissette@dmsolutions.ca
Thu, 12 Dec 2002 13:03:24 -0500
Kevin Flanders wrote:
>
> Is there a way to setup Mapserver so that the user can input the scale they
> wish to zoom to, ie. 100-scale, etc.....thereby enabling them to print a map
> at a set scale. I know there are issues with scale and the dpi settings for
> individual monitors, but assuming 72 dpi.....can this be done? Has this
> been done?
>
Ed's comments about the scale calculation are right, but assuming that
you can live with the fact that scale is just an approximation on the
web, then the PHP MapScript function $mapObj->ZoomScale() could do what
you want.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users