On 21 December 2012 21:15, Boided <[email protected]> wrote: > Can anyone please > suggest about how to add a point on the map on a location????????
One question mark is usually enough. More doesn't get you better answers :) You could use a DirectLayer to display your point: http://docs.geotools.org/latest/javadocs/org/geotools/map/DirectLayer.html Sub-class DirectLayer and implement the draw method to display the point by drawing into the Graphics2D object passed to the method. If your application repeatedly moves from point to point you could keep the same DirectLayer in your MapContent and use a setter method or public field to update the point coords. Michael ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
