[mapserver-users] scroll out of map-extent
Debbie Pagurek
pagurekd@agr.gc.ca
Thu, 24 Oct 2002 10:28:13 -0400
I think you need to use the MINSCALE and MAXSCALE options of the WEB object.
D. Pagurek
>>> <bjoern@lih.rwth-aachen.de> 10/24/02 05:26AM >>>
Hi all,
what can I do to force mapserver just to show what's within the
mapextent?
The problem is that the user may scroll out of the map.
I use mapserver 3.62 and rosa-applet
Just setting the extent doesn't solve the problem
-here is the map section of my map file.
MAP
STATUS ON
EXTENT -180 -90 180 90
SIZE 600 350
SHAPEPATH "data"
SYMBOLSET "./etc/symbols.sym"
FONTSET "./etc/fonts.txt"
IMAGECOLOR 255 255 255
TRANSPARENT OFF
UNITS DD
INTERLACE ON
IMAGETYPE GIF
IMAGEQUALITY 75
Any ideas or examples?
Thanks in advance
Björn