[Mapserver-dev] jBox image dragging
Richard Greenwood
Rich at GreenwoodMap.com
Sun Oct 26 22:03:36 EST 2003
--=======30567D1=======
Content-Type: text/plain; x-avg-checked=avg-ok-1CD06E6F; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit
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
--=======30567D1=======--
More information about the mapserver-dev
mailing list