Hi, I would like to have the geoMap.draw () into a separat PGraphics buffer. I tried several things but I couldn't push it into PGraphics.
Is this possible?
import org.gicentre.geomap.*; import org.gicentre.utils.move.*;
GeoMap geoMap; PGraphics pg;
void setup() { size(800, 400);
pg = createGraphics(800, 400);
geoMap = new GeoMap(this); // Create the geoMap object. geoMap.readFile("world"); // Read shapefile.
}
void draw() { pg.beginDraw(); pg.background(0,0);
pg.geoMap.draw();
pg.endDraw();
noLoop();
}