unfolding
unfolding copied to clipboard
Setting x,y pos of map with Java2D fails. Always at 0,0
An UnfoldingMap initiated with a set position always shows at the origin of the screen, when the Java2D default renderer is used.
size(500, 500); new UnfoldingMap(this, "map1", 50, 50, 200, 200);
Works fully with P2D or P3D. Dimension (w/h) of the map works also in Java2D.
In Java2DMapDisplay offsetX and offsetY are not used to offset the map. This is done only in OpenGLMapDisplay.postDraw() at the moment.