On 17 January 2013 04:31, starscream <niko...@hotmail.it> 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

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to