Wiki is still hosted on codehaus; you will fid some information on making your own icon factories in geotools (a new capability that has been added so icons can be true type fonts etc..). But basically SLD asks you to make rules and set up markers for each one of your icons ...
The larger question is that we are writing a gis library and not your application :-) We do have a JMapPane which we use to make the example code visual - it should be used as the starting point for your own ideas. Jody On 07/05/2010, at 12:50 AM, Brian Ghigiarelli wrote: > Geotools Community, > > I'm in the process of building a map application using GT 2.6.1 to allow > users to add markers to a map, then run some simulations on the affects of > the positions of the markers. I'm relatively new to Geotools, but am having > a hard time finding documentation and/or examples on how to add markers to > the map that are represented in the form of a small icon (any sort of image > file). It appears as though much of the WIKI that used to be hosted on > Codehaus was intended to be ported to geotools.org, but there are a lot of > "coming soon" pages where I was hoping for a "here's how to do it with this > awesome api!" > > I've got things to a state where I have a custom toolbar CursorTool working > and creating the proper MapMouseEvent with access to the JMapPane, but I'm > lost when trying to translate that MapMouseEvent from "the user clicked here" > to "add a marker there" in a world of FeatureTypes, Builders, and > GeometryFactory's. > > As another point of "try the demo first," I went through the FlyingSaucer > demo, but found that it wasn't tying anything in with the layers of the map, > and instead was focused on the JPane (unless I completely missed something > there). > > Can someone point me in the right direction for documentation and/or code > snippets on how to handle this? Is it an amateur question? :-) I look > forward to contributing soon enough! > > Thanks, > > -- > Brian Ghigiarelli > ------------------------------------------------------------------------------ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
