Thanks. I'm currently working on what you suggested. In the mean time, my end application would need features like adding new lines, nodes to the map, selecting a line/node on the map and displaying properties of that selected part and drawing names/values on the map. (Eg: population of a city). I'm curious whether JMapPane is the answer for this as the document says JMapPane is just for demo purpose, but not intended for Desktop GIS apps. Please comment on this.
On Tue, Apr 5, 2016 at 1:24 PM, Mark Prins <[email protected]> wrote: > You will want to look into JMapPane, check the Swing userguide: > http://docs.geotools.org/stable/userguide/unsupported/swing/index.html > Mark > > 2016-04-05 7:40 GMT+02:00 Thilina Yapa Bandara <[email protected]>: > >> Hello all, >> >> I just started with GeoTools. I have a java GUI swing application with >> three frames. I want to load a map from a shape file and draw the map on an >> existing application frame. For this I use GeoTools framework. I've looked >> at the examples and all examples have drawn the map on a separate GUI >> window JMapFrame. >> >> (I've followed this >> <http://docs.geotools.org/latest/userguide/tutorial/quickstart/netbeans.html> >> link >> ) >> >> Is there a way which we can embed a map that we have created using >> Geotools to an existing Java Swing application. >> >> -- >> regards, >> >> *Thilina Yapa Bandara* >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> GeoTools-GT2-Users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> >> > > > -- > Disclaimer; > This message is just a reflection of what I thought at the time of > sending. The message may contain information that is not intended for you > or that you don't understand. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > GeoTools-GT2-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- regards, *Thilina Yapa Bandara* (*ආයුබෝවන් *- May All Beings Live Long)
------------------------------------------------------------------------------
_______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
