都填which,在定语从句中,from which=where,都在从句中担任地点状语的成分.
上面两个句子都是非限制性定语从句,先行词分别是the top of the mountain和the window,在从句中作地点状语,又因为是非限制性定语从句,所以填from which.
上面的句子如果改成限制性定语从句也是对的:
1.He climbed up to the top of the mountain where he could see clearly.
2.He appeared out of the window where the whole city came into view.