[mapserver-users] scroll out of map-extent

Steve Lime steve.lime at dnr.state.mn.us
Thu Oct 24 11:46:30 EDT 2002


There's no way to do it automatically unless you're using mapscript.
This is a planned feature of 3.7. You'll be able to define a limiting
extent in your web object...

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> <bjoern at lih.rwth-aachen.de> 10/24/02 04: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