[mapserver-users] Scroll Restriction
Thorsten Fischer
thfischer@mapmedia.de
28 Aug 2002 17:51:29 +0200
Stefan,
> Is there a way to prevent user from 'scrolling' out of the provided
> dataset?
> e.g. If one is constantly recentering the map at points outside the
> image/shapefile.
In case you are using php mapscript, you can use the zoom functions
(zoom[point|square]) and pass a rectObj as an optional last parameter to
define extents that won't be left while zooming.
hth,
thorsten
--
Thorsten Fischer thfischer@mapmedia.de
---------------------------------------------------------
MapMedia - Kartographie und raumbezogene Informationssysteme
Am Borsigturm 42
13507 Berlin
Deutschland
http://www.mapmedia.de tel: +49 (0)30 43032102
---------------------------------------------------------