I'm beginner in Geotools. I would like to know if an scroll bar (or
scroll pane) can be added to a JMapPane. How can I together use the
ZommPane with a JMapPane? if this will be possible...
From: Jakub Rojek <rojekj@ii...> - 2009-06-18 14:43:05
I am using Geotools 2.5.5 and i would like to try to display some Shape
filest. I have found an example, that should be able to display an shape
file. The problem is that there is a library
missing(org.geotools.gui.swing.JMapPane;). Does anybody know hoew I can
solve this Problem. I mean where i can find this librarys.
From: Michael Bedward <michael.bedward@gm...> - 2009-06-19 03:20:03
For GeoTools 2.5.x JMapPane is in the gt-mappane module which is one
of the 'unsupported' modules that are not part of the standard
If you are using maven as your build tool you can simply add the
module as a dependency in your pom.xml:
...then maven will download and install the jar for you when you build your app.
Otherwise you can downlad the jar manually from here:
BTW, in the development version of GeoTools (2.6.x) we have rewritten
JMapPane and its friends. You can find the source code for the new
classes plus a small demo program here:
Hope this helps,