天下之事,必先处之难,而后易之。
君临
知我者谓我心忧,不知我者谓我何求

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.

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/

posted on 2014-06-23 11:15  boonya  阅读(867)  评论(0编辑  收藏  举报

我有佳人隔窗而居,今有伊人明月之畔。
轻歌柔情冰壶之浣,涓涓清流梦入云端。
美人如娇温雅悠婉,目遇赏阅适而自欣。
百草层叠疏而有致,此情此思怀彼佳人。
念所思之唯心叩之,踽踽彳亍寤寐思之。
行云如风逝而复归,佳人一去莫知可回?
深闺冷瘦独自徘徊,处处明灯影还如只。
推窗见月疑是归人,阑珊灯火托手思忖。
庐居闲客而好品茗,斟茶徐徐漫漫生烟。

我有佳人在水之畔,瓮载渔舟浣纱归还。
明月相照月色还低,浅近芦苇深深如钿。
庐山秋月如美人衣,画堂春阁香气靡靡。
秋意幽笃残粉摇曳,轻轻如诉画中蝴蝶。
泾水潺潺取尔浇园,暮色黄昏如沐佳人。
青丝撩弄长裙翩翩,彩蝶飞舞执子手腕。
香带丝缕缓缓在肩,柔美体肤寸寸爱怜。
如水之殇美玉成欢,我有佳人清新如兰。
伊人在水我在一边,远远相望不可亵玩。