Having decided to start working on making my map viewing program (see http://paulmcnett.com/pipermail/floatcanvas/2012-January/001127.html) more general, I want to be able to make it so that panning and zooming automagically downloads and displays tiles. However, when in different modes other than pointer mode, the mouse wheel events don't seem to get all the way down to the floatcanvas. Instead, they get handled way up in GUIMode.py. I could monitor self.Canvas.scale, and react to changes in that, however that seems messy. The project's files are in the git repository of http://laptimer.sourceforge.net/ , in the branch awesomeSauce. I may consider moving it to a seperate branch, or even a seperate repository later.
Basically, what i'm asking (because I haven't made that too clear), is if there is a nicer way to handle zooming.
_______________________________________________ FloatCanvas mailing list [email protected] http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
