2015-01-03 14 views
5

İşleme ile birlikte unfoldingmaps kullanan bir uygulama üzerinde çalışıyorum. Aşağıda SimpleMapApp Unfolding - Resim dosyaları eksik

Bu ben tarayıcıdan url isabet çalıştı

The file "http://a.www.toolserver.org/tiles/bw-mapnik/2/1/2.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/2/2/3.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/2/2/2.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/2/2/1.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/2/3/1.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/2/3/2.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/2/1/3.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/2/3/3.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/2/0/2.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/2/2/0.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/2/1/0.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/2/0/3.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/2/0/1.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/2/0/0.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/2/3/0.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/2/1/1.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable. 

alıyorum hata iletisi işleme

import de.fhpotsdam.unfolding.*; 
import de.fhpotsdam.unfolding.geo.*; 
import de.fhpotsdam.unfolding.utils.*; 

UnfoldingMap map; 

void setup() { 
    size(800, 600, P2D); 
    map = new UnfoldingMap(this); 
    MapUtils.createDefaultEventDispatcher(this, map); 
} 

void draw() { 
    map.draw(); 
} 

gözler önüne serilen gelen örnek kodu - bu resim dosyaları olmuştur diyor taşındı. Yerel sistemimde bunun bir dökümünü almalı mıyım? Bu nasıl çalışıyor? Bu URL'ler açılırken diğer kullanıcılar için çalışıyor mu?

cevap

1

Bazı haftalarda, Unfolding'in varsayılan olarak kullandığı harita döşeme hizmeti, WikiMedia Labs'e taşındıkça düzgün yanıt vermedi. Şimdi yeniden yönlendiriyor ve çini görüntülerine tekrar hizmet ediyor.

+0

çalışıyor

import de.fhpotsdam.unfolding.providers.Google; 

eklendi ve
map = new UnfoldingMap(this, new Google.GoogleMapProvider()); 

değiştirdiniz Bu hata yine gerçekleştiği zaman elinde tutmasına-uygulama-şablon-with-örnekler HelloUnfoldingWorld .java programı. Yani sanırım yönlendirme hala gerçekleşmiyor. Ya da şablon örneklerinin en azında, yeniden yönlendirme – dirai

6

Bu, örnek kodun değiştirilmiş sürümüdür.

import processing.core.PApplet; 
import de.fhpotsdam.unfolding.UnfoldingMap; 
import de.fhpotsdam.unfolding.geo.Location; 
import de.fhpotsdam.unfolding.utils.MapUtils; 
import de.fhpotsdam.unfolding.providers.Google; 
public class HelloUnfoldingWorld extends PApplet { 

    UnfoldingMap map; 

    public void setup() { 
     size(800, 600, OPENGL); 

     map = new UnfoldingMap(this, new Google.GoogleMapProvider()); 
     map.zoomAndPanTo(10, new Location(52.5f, 13.4f)); 

     MapUtils.createDefaultEventDispatcher(this, map); 
    } 

    public void draw() { 
     background(0); 
     map.draw(); 
    } 

} 

Ben Şimdi

+0

ile güncellenen en son kod bulunmuyor. Bu çözüm problemi çözdü (hala işlemdeki unfoldingmaps örneklerinin eskizleriyle birlikte var). Bu doğru cevap olarak kabul edilebilir mi? – black