[OpenMap Users] collapse multiple mouse wheel events into one zoom change

From: Pete Flugstad <pete.flugstad_at_gmail.com>
Date: Wed, 4 Aug 2010 22:47:25 -0500

Has anyone done anything along the lines of adding a delay to the processing
of mouse wheel events, in order to cache multiple events into one
change in zoom level?

Something along the line of receiving the mouseWheelEvent in AbstractMouseMode,
updating a zoom delta to 1.1 or 0.9, then setting a timer to fire off
like 500 ms later?
Subsequent mouseWheelEvents would just update the zoom delta. When the timer
fires, it would then do the actual zoom.

I went looking though the archives but didn't see anything.

Thanks,
Pete

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Aug 04 2010 - 23:48:21 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT