unfolding icon indicating copy to clipboard operation
unfolding copied to clipboard

Setting x,y pos of map with Java2D fails. Always at 0,0

Open tillnagel opened this issue 10 years ago • 1 comments

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.

tillnagel avatar Jun 08 '14 09:06 tillnagel

In Java2DMapDisplay offsetX and offsetY are not used to offset the map. This is done only in OpenGLMapDisplay.postDraw() at the moment.

tillnagel avatar Jun 16 '14 09:06 tillnagel