jxmapviewer2 icon indicating copy to clipboard operation
jxmapviewer2 copied to clipboard

Fix offset error with Graphics2D translate

Open msteiger opened this issue 3 years ago • 0 comments

image image

Fixes the error when displaying elements at high zoom levels. It looks like a rounding error, but I don't think it is.

dx: -35180458 (int)
dx: -35180458,000000000000 (computed as double)

Unfortunately, this is a breaking change for WaypointRenderer implementations.

Fixes #115

msteiger avatar Dec 19 '21 11:12 msteiger