Hi Sergey, > I heard once that there are plans to inroduce DirectDrawLayer (or like), > i.e. layer allowing drawing of custom objects?
There is some progress towards this (finally) as part of the current rewriting of much of the swing module plus Jody's recent addition of new Layer classes in the render module. There is now a minimal DirectLayer class... http://svn.osgeo.org/geotools/trunk/modules/library/render/src/main/java/org/geotools/map/DirectLayer.java This subclass illustrates one simple use of it (although this one only uses screen coordinates)... http://svn.osgeo.org/geotools/trunk/modules/library/render/src/main/java/org/geotools/map/direct/MessageDirectLayer.java Next, I am adding an option to JMapPane to use multiple backing images... http://jira.codehaus.org/browse/GEOT-3746 Putting these two things together the idea is to draw the feature data into one (or more) backing image while custom graphics are drawn by a DirectLayer sub-class into a separate backing image. The latter image is then displayed over the feature data image(s). I will be working on this next week. If you could help with data or code for testing that would be great. Michael PS: here is a link to the Jira issues for the swing module so you can see what's been happening... http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+%22GEOT%22+and+component+%3D+%22swing%22+order+by+created ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
