Giter Site home page Giter Site logo

jxmapviewer2's Introduction

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, which is now gone from java.net but available on archive.org. Please have a look at the examples section in addition.

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.8</version>
</dependency>

Examples

You can find some examples as part of this source code repository. You can open them as a separate project in your IDE and run them there. Alternatively, they can be run from the command line after creating a Maven package from them.

$ mvn clean package
$ java -cp target/jxmapviewer2-examples-2.5.jar sample1_basics.Sample1

GeoPackage data

An example on how to integrate GeoPackage data has been implemented here: #122

History

This source code used in this project is based on:

  • SwingX-ws-2009_06_14.jar formerly hosted at java.net/projects/swingx
  • SwingX 1.6.3 (released Feb 2012) formerly hosted at java.net/projects/swingx-ws

This is what we have done so far ...

  • Extract the JXMapViewer part from the full package
  • Upgrade to Java 6 (version 2.1)
  • Upgrade to Java 7 (version 2.5)
  • 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 java.net/jira/browse/SWINGX_WS

License

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.