[mapserver-users] Micro-HowTo Display SCALE
Stephen Woodbridge
woodbri at swoodbridge.com
Fri Dec 14 06:26:35 PST 2001
Hi all,
Twan Kogels asked about the values on the MINSCALE and MAXSCALE and how
they relate to a given map.
Go to your demo.html file and search for "scalebar" then replace that
line with the following:
<td align="right" valign="top"><font size=-3
face="arial,helvetica" color="#FFFFFF">1:[scale]</font> <img
src="[scalebar]"></td>
Now just to the left of your scale bar you will have 1:ssssss.ssss where
ssssss.ssss is the scale of the map at whatever zoom you are at. This is
in the same units as the valuse on MINSCALE/MAXSCALE
PLEASE, add this to the appropriate documentation as and example.
Hope this helps,
-Steve
More information about the MapServer-users
mailing list