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

Stephen Woodbridge woodbri at swoodbridge.com
Wed Mar 6 11:48:58 PST 2002


for #2 check out http://swoodbridge.com/web2/nmap
Look under the key map for the scale. This was done in php, but if you
search the list archives for "scale" there was a discussion on how to do
this with the templates and javascript.

I haven't thought about #1 but it should be easy enought to do by
comparing the ratio of the current scale to the desired scale with the
current extents to get new extents.

-Steve

Tyler Mitchell wrote:
> 
> Hi folks,
> Does any have a site that allows the user to either of the following?  I'd
> love to see a demo and learn how you do it (codewise).
> 
> 1-enter a specific scale for a map and automatically zoom to the proper
> extent
> 2-zoom in manually and display the current scale of the map



More information about the MapServer-users mailing list