}
private void printInfo(String info, Location location, ScreenPosition pos) {
System.out.printf(info + " : lat = %.9f lon = %.9f x = %.9f y = %.9f \n", location.getLat(), location.getLon(),
pos.x, pos.y);
Coordinate coord = map.mapDisplay.getMapProvider().locationCoordinate(location).zoomTo(0);
System.out.printf("\tcoord : col = %.9f row = %.9f \n", coord.column, coord.row);
// from AbstractProjection#locationCoordinate
PVector point1 = new PVector(PApplet.PI * location.y / 180.0f, PApplet.PI * location.x / 180.0f);
System.out.printf("\tpoint1 : x = %.9f y = %.9f \n", point1.x, point1.y);