[Mapserver-users] Limiting min and max scale when using MapScript
AMC Story
s9646183@sms.ed.ac.uk
Thu, 31 Jul 2003 10:22:44 +0100 (BST)
Hi there everyone,
Firstly, I was hoping someone could tell me how to arrive at sensible figures
for minscale and maxscale as specified in the web object? The exact derivation
of these values has been questioned several times in the archives but I haven't
yet managed to find an answer, maybe this could be added on to the mapfile
reference doc?
Also, I think I remember seeing somewhere that if you are using MapScript as
opposed to the CGI application, you can't specify a minscale and maxscale value
in the mapfile. I've tried just setting these values in my script:
$current_map->{web}->{maxscale}=some number?;
$current_map->{web}->{minscale}=some number?;
but whatever values I use this doesn't seem to make any difference.
Can someone let me know how I can stop users from zooming in and out too far?
Thanks very much,
Ali
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users