Coordinate c1 = paintCoord.add(cornerCoords[0]).add(quadMap.getViewportPosition());
Coordinate c2 = paintCoord.add(cornerCoords[1]).add(quadMap.getViewportPosition());
Painter painter = quadMap.getPainter();
painter.drawShortestLine(c1, c2, g, true, 5);
}