@Kartoffel
Did you use the tangent in order to solve the map coordinates (x=pan, y=tilt)?