The Kadi Camii (Mosque of the Judge) was built by Demirtaş Paşaoğlu Mehmet Bey, from the aristocrat Isfendiyaroğlu family (based in Kastamonu), which ruled the region almost independently in the 14th-15th century and often acted as real governors under the Ottomans later on.
Its ground plan is similar to a late-Roman or Byzantine basilica (with an apsis), but its orientation - to the south, where Mecca lies - proves it was from the beginning erected as a mosque. No dome, but a wooden ceiling (inside) and a low pyramidal roof with tiles.
Note: it is the Yıldırım Camii at the end of the street that is also called ‘Ulu Cami’.
Correspondent: J.M.Criel, Antwerpen.
Sources: ‘Vakıf Abideler ve eski Eserler’ II - Vakıflar Genel Müdürlüğü, Ankara 1977 & Personal visit (1996).