|
From: Michael B. <mic...@gm...> - 2013-01-16 23:00:58
|
On 17 January 2013 04:31, starscream <ni...@ho...> wrote: > I found another example on web: > > What I wish <http://kyle-in-jp.blogspot.it/2012/01/geotools_25.html> I'm afraid that is not a good example of how to draw a single graphic element on a map. It would be much easier to use a DirectLayer (sub-class DirectLayer and implement the draw method): http://docs.geotools.org/stable/javadocs/org/geotools/map/DirectLayer.html This has been discussed on the list a number of times: http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=search_page&node=4317834&query=DirectLayer&n=4317834 Hope this helps. Also, please read the posting guide for this list: http://docs.geotools.org/latest/userguide/welcome/userlistguide.html Michael |