[Mapserver-dev] jBox image dragging

Richard Greenwood Rich at GreenwoodMap.com
Mon Oct 27 11:42:25 EST 2003


Steve,

Thanks for your reply. I'll commit my modification to CVS.  (I had not 
wanted to commit it because I wasn't sure if negative coordinates were 
legal.) The way I have implemented dragging won't break any existing jBox 
or dBox stuff, it's just a new function call: dragon().

Are you distributing dBox, and if so, where would I find it?

Rich

At 10:03 AM 10/27/2003 -0600, Steve Lime wrote:
>Cool, nice modification, now of course I need to modify dbox. There is
>no problem sending
>negative coordinates. That's how most panning is done anyways.
>
>Steve
>
> >>> Richard Greenwood <Rich at GreenwoodMap.com> 10/26/2003 9:03:36 PM
> >>>
>I have added image dragging functionality to jBox. This allows the user
>to
>drag the image within the applet area. A new imgxy is then passed to
>mapserver when the mouse is released. A working example is at
>http://www2.tetonwyo.org/mapserver/
>
>Depending on how far the user has dragged the image, the new values for
>
>imgxy may be negative and/or greater than the current image size. In my
>
>limited testing this has not generated any errors. Does anyone see a
>problem with this? i.e. Am I breaking any rules by sending negative
>imgxy
>values, or imgxy values greater than the current image size?
>
>Thanks,
>Rich
>
>
>Richard W. Greenwood, PLS
>Greenwood Mapping, Inc.
>Rich <at> GreenwoodMap <dot> com
>(307) 733-0203
>http://www.GreenwoodMap.com
>_______________________________________________
>Mapserver-dev mailing list
>Mapserver-dev at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich <at> GreenwoodMap <dot> com
(307) 733-0203
http://www.GreenwoodMap.com 




More information about the mapserver-dev mailing list