[mapserver-users] Displaying/setting representative fraction (RF) Scale

Richard Greenwood Rich@GreenwoodMap.com
Wed, 06 Mar 2002 18:44:05 -0700


>2-zoom in manually and display the current scale of the map

How about just using [scale] ? It gives more decimal places that I want, so 
I usually go:
<script language="JavaScript">
     document.write("Approx Scale 1:" + Math.round([scale]/100)*100);
</script>



Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich@GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com