JOptionPane.showMessageDialog(null,
"posLat = " + mapProjection.calcLat(pos.xz())
+ "\nposLon = " + mapProjection.calcLon(pos.xz())
+ "\nposEle = " + pos.y
+ "\nlookAtLat = " + mapProjection.calcLat(lookAt.xz())
+ "\nlookAtLon = " + mapProjection.calcLon(lookAt.xz())
+ "\nlookAtEle = " + lookAt.y,
"Current camera configuration", JOptionPane.INFORMATION_MESSAGE);
}