private UnfoldingMap map;
public void setup()
{
size(950, 600, OPENGL); // size of the canvas
// size(950,600);
map = new UnfoldingMap(this,200,50,700,500, new Google.GoogleMapProvider());
map.zoomToLevel(2);
MapUtils.createMouseEventDispatcher(this, map);
}
public void draw()
{
background(200);
map.draw();
}
}
If I run with size(950, 600, OPENGL), I get a blank screen (Applet started).
In the cosole, I get this,
Unfolding Map v0.9.7 (UCSD edition)
Using OpenGLMapDisplay with processing.Opengl.PGraphics3D
If I remove OPENGL, and run just size(950, 650), it works fine.
I need help to run this code.
package module3;
import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.providers.Google; import de.fhpotsdam.unfolding.utils.MapUtils; import processing.core.PApplet;
public class EarthquakeCityMapS extends PApplet{
If I run with size(950, 600, OPENGL), I get a blank screen (Applet started). In the cosole, I get this, Unfolding Map v0.9.7 (UCSD edition) Using OpenGLMapDisplay with processing.Opengl.PGraphics3D
If I remove OPENGL, and run just size(950, 650), it works fine.
What should I do to run this code?