Line | |
---|
1 | JMapViewer
|
---|
2 |
|
---|
3 | (c) 2008 Jan Peter Stotz
|
---|
4 |
|
---|
5 | This work bases partly on the JOSM plugin "Slippy Map Chooser" by Tim Haussmann
|
---|
6 |
|
---|
7 | License: GPL
|
---|
8 |
|
---|
9 | FAQ:
|
---|
10 |
|
---|
11 | 1. What is JMapViewer?
|
---|
12 |
|
---|
13 | JMapViewer is a Java Swing component for integrating OSM maps in to your Java
|
---|
14 | application. JMapViewer allows you to set markers on the map or zoom to a specific
|
---|
15 | location on the map.
|
---|
16 |
|
---|
17 | 2. How does JMapViewer work?
|
---|
18 |
|
---|
19 | JMapViewer loads bitmap tiles from the OpenStreetmap tile server (Mapnik renderer).
|
---|
20 | Therefore any application using JMapViewer requires a working internet connection.
|
---|
21 |
|
---|
22 | 3. How do I use JMapViewer in my application?
|
---|
23 |
|
---|
24 | You can just create an instance of the class org.openstreetmap.gui.jmapviewer.JMapViewer
|
---|
25 | using the default constructor and add it to your panel/frame/windows.
|
---|
26 | For more details please see the Demo class in the same package.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.