Yiyang Tsui wrote: > I'm looking for Canvas Widget based on wxPython. After trying > the FloatCanvas Demo, the zooming function works > quite well. But since this is for gis map application, it would be nice > that the multilayer(overlaping images?)
I'm not exactly sure what you mean by this. FloatCanvas supports two primary layers, the background and foreground. The idea for hat is that if you have a complex drawing that takes a while to render, you can put that in the background (the default), and then put something that is changing in the foreground, and only the foreground needs to be redrawn. Other than that, you can built your own "layers" by using a group object. A group object is an object that holds any number of other DrawObjects that can be shown and hidden, added an removed, etc, as a single object. > and in-touch edit (such as > clicking a point on the plot can trigger a property editing dialog) be > done easily. yes, there are a full set of event on either the canvas itself or on a given object. > Any > examples? if not, any suggestion that I can follow to start with? The main demo is a bit busy, but most of the features are there. There is also a set of stand alone demos, each using a couple features. They can be found in SVN here: http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/FloatCanvas/Demos/ -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] _______________________________________________ FloatCanvas mailing list [email protected] http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
