[mapserver-users] scroll out of map-extent
Debbie Pagurek
pagurekd at agr.gc.ca
Thu Oct 24 07:28:13 PDT 2002
I think you need to use the MINSCALE and MAXSCALE options of the WEB object.
D. Pagurek
>>> <bjoern at 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
More information about the MapServer-users
mailing list