Yes, Canadian residents flying to Istanbul on a Canadian passport also need a visa to enter Turkey. You can easily do so by applying for an electronic E-visa less than 60 days before your intended entry date. The fees are about C$148 with tax for each person.