以下处理程序(专业术语中的草图)显示可缩放的世界地图。我从this site复制它。这是我第一次去这个图书馆,后来我希望开发一个程序,在可缩放和可拖动的地图上绘制GPS位置数据。如何处理使用UnfoldingMaps库的处理中的这些错误消息
import de.fhpotsdam.unfolding.*;
import de.fhpotsdam.unfolding.geo.*;
import de.fhpotsdam.unfolding.utils.*;
UnfoldingMap map;
void setup() {
size(800, 600);
map = new UnfoldingMap(this);
MapUtils.createDefaultEventDispatcher(this, map);
}
void draw() {
map.draw();
}
它最初显示的世界地图,并立即给出了这样的警告:
Unfolding Map v0.9.6
No OpenGL renderer. Using Java2DMapDisplay.
log4j:WARN No appenders could be found for logger
(de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay).
log4j:WARN Please initialize the log4j system properly.
我能够非常漂亮放大至约1的比例:50,000,但试图变焦拉近祭起这长长的错误列表。我假设他们详细地依赖于我在哪个区域看,但他们总是几乎相同。
Unfolding Map v0.9.6
No OpenGL renderer. Using Java2DMapDisplay.
log4j:WARN No appenders could be found for logger
(de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay).
log4j:WARN Please initialize the log4j system properly.
The file "http://a.www.toolserver.org/tiles/bw-mapnik/18/130751/86722.png" is missing or
inaccessible, make sure the URL is valid or that the file has been added to your sketch
and is readable.
The file "http://a.www.toolserver.org/tiles/bw-mapnik/18/130751/86723.png" is missing or
inaccessible, make sure the URL is valid or that the file has been added to your sketch
and is readable.
.... (cut out about 30 similar warnings)
The file "http://a.www.toolserver.org/tiles/bw-mapnik/15/16320/10950.png" is missing or
inaccessible, make sure the URL is valid or that the file has been added to your sketch
and is readable.
所以,我的问题是:请问,这是什么意思,我可以或应该做任何事情。网络上有很多关于此的帖子,但是这些建议非常混乱,他们都假设你已经对发生的事情有了一个了解。
它看起来像一些地图平铺图像的分辨率比1:50,000更好可能无法使用。 – paisanco