Instrument for measuring distances on astronomical maps (cathetometer)