以下處理程序(專業術語中的草圖)顯示可縮放的世界地圖。我從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