JXMapViewer2
Java
Clone or download

README.md

Overview

sample2 sample2

This project is based on the JXMapViewer component of SwingX-WS.

The project was hosted at SwingLabs.org, but has been discontinued. We extracted the JXMapViewer part from the latest SwingX-WS version available and continue developing it.

The JXMapViewer Tutorial by Joshua Marinacci provided a good overview over the functionality of the component, but unfortunately it's no longer available. Please have a look at the examples section instead.

The content of this project are also available at Maven Central and can be referenced in your pom.xml with the following coordinates:

<dependency>
    <groupId>org.jxmapviewer</groupId>
    <artifactId>jxmapviewer2</artifactId>
    <version>2.4</version>
</dependency>

History

This source code used in this project is based on:

This is what we have done so far ...

  • Extract the JXMapViewer part from the full package
  • Upgrade to Java 6
  • Fixed javadoc
  • Replaced system.out.println() with apache.commons.logging
  • Removed broken TileProviders
  • Remove dependencies to SwingX (and its indirect dependencies)
  • Fixed tile caching so that only tiles are cached, not everything
  • Extract user interaction from the viewer
  • Make CompoundPainter use Lists instead of Arrays
  • Find out what the "Java One" hack is and replace it with proper implementation
  • Improved zooming in - images of coarser resolution are used until new images are loaded
  • Fixed thread leak when setting new TileFactory
  • Supports OSGi bundles (contains MANIFEST.MF)
  • Supports Maven dependency management
  • Fixed use of deprecated code
  • Fix bugs that were posted on http://java.net/jira/browse/SWINGX_WS

License

This project has been licensed under the GNU Lesser General Public License (LGPL)