Pan Extent

Abe Gillespie abe.gillespie at GMAIL.COM
Fri May 6 10:58:12 PDT 2005


There is a way to limit how far one zooms out by MAP::MAXSCALE.  But
you may be correct in that you can't control panning extents in the
map file.  Sorry.  However, if you know if the most basic scripting,
this should be easy to cook up on your own.

-Abe

On 5/6/05, andy <aborruso at tin.it> wrote:
> Hi abe,
> first of all thank you for your time.
> Every mapserver applications I have seen do not have pan limits, and all
> these application should have EXTENT [minx][miny][maxx][maxy].
> Probably is not possible to limit pan without scripting.
> 
> What do you think?
> 
> Thank you again,
> 
> Andrea
> 
> Abe Gillespie wrote:
> 
> >I believe the min max properties in the map file handle this auto-magically.
> >
> >-Abe
> >
> >On 5/5/05, andy <aborruso at tin.it> wrote:
> >
> >
> >>Dear all,
> >>is it possible in same way to limitate the extent of panning around a
> >>map? I do not want that some user can pan in area with no data?
> >>
> >>Thank you,
> >>
> >>a
> >>
> >>
> >>
> >
> >
> >
> 
>



More information about the MapServer-users mailing list