Limiting the area of a mapfile that is displayed

Hong ljfong at SDF.LONESTAR.ORG
Sat Feb 17 10:50:23 PST 2007


The EXTENT defined in your mapfile defines the area that is actually displayed
by MapServer. The act of user clicking on a point to zoom in is basically the
same of changing the EXTENT to a new EXTENT programmatically according to the
mechanism of zooming in.

Hong


On Sat, Feb 17, 2007 at 10:11:56AM +0000, Sarah Parrott wrote:
>    Hi,
> 
>     I've got a mapfile that displays the whole of a shapefile. Is there
>    anything I can do to dynamically limit the area of the mapfile that
>    mapserver actually displays? ie so that the user can click on a point, and
>    it then zooms in and centres on that point.
> 
>    If anyone know how to do this, or can point me in the direction of some
>    docs that would be great!
> 
>    Thanks,
>    Sarah



More information about the MapServer-users mailing list