[mapserver-users] scroll out of map-extent

bjoern at lih.rwth-aachen.de bjoern at lih.rwth-aachen.de
Thu Oct 24 02:26:37 PDT 2002


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