The example that I am using is listed below. Its the second example in learning Unfolding Maps. The program compiles (Processing 3.2.3) without error and loads with the following messages: Unfolding Map v0.9.6 No OpenGL renderer, Using Java2MapDisplay
the code is:
import de.fhpotsdam.unfolding.*; import de.fhpotsdam.unfolding.core.*; import de.fhpotsdam.unfolding.data.*; import de.fhpotsdam.unfolding.events.*; import de.fhpotsdam.unfolding.geo.*; import de.fhpotsdam.unfolding.interactions.*; import de.fhpotsdam.unfolding.mapdisplay.*; import de.fhpotsdam.unfolding.mapdisplay.shaders.*; import de.fhpotsdam.unfolding.marker.*; import de.fhpotsdam.unfolding.providers.*; import de.fhpotsdam.unfolding.texture.*; import de.fhpotsdam.unfolding.tiles.*; import de.fhpotsdam.unfolding.ui.*; import de.fhpotsdam.unfolding.utils.*; import de.fhpotsdam.utils.*;
UnfoldingMap map;
void setup() { size(800, 600); map = new UnfoldingMap(this); MapUtils.createDefaultEventDispatcher(this, map); }
void draw() { map.draw(); Location location = map.getLocation(mouseX, mouseY); fill(0); text(location.getLat() + ", " + location.getLon(), mouseX, mouseY); }