OpenStreetMap(OSM) JMap Viewer(Java swing map)

This article from:http://wiki.openstreetmap.org/wiki/JMapViewer

JMapViewer is a java component which allows to easily integrate an OSM map view into your Java application.

Features

  • Provides integrated zoom controls (slider and buttons) in the left upper corner (can be hidden)
  • Switch between different tile sources: Mapnik, Tiles@Home, Cyclemap, ... (other tiled maps can be used, too)
  • Configurable in-memory and file-based caching of loaded map tiles
  • A list of map markers (the yellow circles in the screenshot) can be added. Map markers of different shape can be easily added by implementing the MapMarker interface.
  • Configurable/Extentable/Replaceable controller (code part that manages mouse interaction and how the map reacts to it)
  • Requirement: Java 1.6
  • License: GPL

Releases

Releases containing source code and binary jar files are available in the releases directory in the SVN: http://svn.openstreetmap.org/applications/viewer/jmapviewer/releases

Demo

The release contains a small demo application which demonstrates some of the features of JMapViewer.

OpenStreetMap(OSM) JMap Viewer(Java swing map)

Development

Javadoc for that component can be found on JOSM-Documentation: Javadoc

Bugs can be reported in JOSM-Wiki: JMapViewer-BugReport

Origin

JMapViewer bases on code written originally for the JOSM plugin slippy map chooser

See also

JXMapViewer - similar name but more complex. Embeddable swingx component for java gui developers.

Help BBS

https://help.openstreetmap.org/

上一篇:OpenStreetMap(OSM) for developers


下一篇:使用随机森林实现OSM路网城市多车道信息提取