[mapserver-users] Scroll Restriction
Thorsten Fischer
thfischer at mapmedia.de
Wed Aug 28 08:51:29 PDT 2002
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 at mapmedia.de
---------------------------------------------------------
MapMedia - Kartographie und raumbezogene Informationssysteme
Am Borsigturm 42
13507 Berlin
Deutschland
http://www.mapmedia.de tel: +49 (0)30 43032102
---------------------------------------------------------
More information about the MapServer-users
mailing list