I've not implemented that functionality for dbox.js. Sorry. Steve
>>> Xavier mauclaire <[EMAIL PROTECTED]> 01/26/06 1:49 AM >>> Hi Thanks for your response. I know about the pan method. What i would like to do is allowing the user to drag & drop the image to simulate the pan deplacement. I think that you can do that with the java applet but a can't use it regards Xavier -----Message d'origine----- De : Steve Lime [mailto:[EMAIL PROTECTED] Envoyé : mercredi 25 janvier 2006 17:47 À : [email protected]; [EMAIL PROTECTED] Objet : Re: [UMN_MAPSERVER-USERS] Dhtml mapserver (mapserv.js) panningtool 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
