[ka-Map-users] How to get at mouse movement events?
Paul Spencer
pspencer at dmsolutions.ca
Thu Sep 8 13:07:41 EDT 2005
Steve,
you can't access them directly as the ka-Map core hooks these events for
use by official 'tools'. Assuming that you would want to grab these
events in some 'mode' of operation, you can look in kaTool.js. You can
either write a new tool that does what you want (use kaNavigator as a
reference), and then provide a UI to manage activation of your tool/the
kaNavigator tool ... or modify kaNavigator so that it does what you want
and then use that in place of the kaNavigator in the main html page.
Cheers
Paul
Steve Lime wrote:
> Hi all: I appologize is this is an FAQ. A quick check of the mailing list didn't turn up anything so here goes...
>
> Are there callbacks for mouse events in the main ka-map viewport (mouseup, mousedown, ...)?
>
> Steve
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list