Unfolding SimpleMapApp - Missing Image Files

I am working on an application that uses map expansion with processing.

The following is an example of a deployment code in processing

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(); } 

This is the error message I get

 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. 

I tried to click on the URL from the browser - he said that the image files were moved. Should I get a dump of this on my local system? How it works? Do these URLs use for others using deployment?

+5
source share
2 answers

This is a modified version of the sample code.

 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(); } } 

I added

 import de.fhpotsdam.unfolding.providers.Google; 

and modified

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

Now it works

+6
source

For several weeks, the default Unfolding Map Slice Display service did not respond properly when switching to WikiMedia Labs. Now it redirects and plays the images again.

+1
source

Source: https://habr.com/ru/post/1210302/


All Articles