Thanks everyone for the replies so far. The pieces are starting to come together and all the posts are matching with what I have found. All the info I am getting is mostly from Wiki.
The earliest mention of indirect fire is, and was invented by an Italian mathematician/surveyor named Niccolò Fontana Tartaglia (1550-1557) that aligned cannons and targets with intermediate pickets. This seemed to be the method that stayed in use until the early 1900s.
As Tango has said, I found Russian Lt Col KG Guk, that in 1882 introduced the use of geometry and measurement of angles compared to the target, but he still didn't have the device (goniometer) to measure the angles. This device was invented by the Germans in 1890, a device they called a lining-plate (never heard it called that before).
SeaKing's book for the beginning of WWI maybe the first mention of magnetic compasses used for orientation. SeaKing, is there a section titled "orientation of director" or something along those lines and does it mention magnetic compass?
This would be in line with General McNaughton's use of sound ranging, which I am assuming that he used magnetic compasses. He could have used map coordinates and with a little math and intervisibility between microphones, could have oriented them that way. Still not sure.
Michael's gunnery manuals from 1928 talk about directors on the last two pages and it seems that the compass was still separate from the director, unlike modern survey instruments that it is built in.
Next step, gyrocompasses.
Thanks again everyone.