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
