There is a pan method available in mapserv.js. You'd just attach code like 
(assuming the mapserv object is called ms):

  ms.pan('nw')

to an image or a link. In my landview example it's something like:

  <a href="javascript:ms.pan('nw')"><img src="nw.gif"></a>

You could also use an image event handler as well I imagine to trigger the pan. 
The application below does this:

  http://www.dnr.state.mn.us/maps/landview.html 

Steve

>>> Xavier mauclaire <[EMAIL PROTECTED]> 01/25/06 10:27 AM >>>
 
Hi
I'm using mapserver with the mapserv.js javascript library. I would like to
implement the panning tool but i don't konw how to do that. Currently, only
the recenter tool can be used.
 
Any help would be appreciated
 
regards
 
Xavier

Reply via email to