double x = xCoords.get(xCoords.size() - 1).doubleValue();
Point pixel = context.worldToPixel(new Coordinate(x,y));
//line is covered by white overlay
if (pixel.y > mapPixelHeight - BOTTOM_STRIP_HEIGHT)
break;
graphics.drawString((int)(y)+"",
mapPixelWidth - RIGHT_STRIP_WIDTH + GRID_LINE_EXTENSION,
pixel.y,
ViewportGraphics.ALIGN_LEFT,
ViewportGraphics.ALIGN_MIDDLE);
}