This article proposes a new distance measure called Spatial Assembling Distance (SpADe) that can handle noise, shifting, and scaling in both temporal and amplitude dimensions of time series. SpADe is applied to the problem of streaming pattern detection, which continuously monitors streaming time series to detect matches with query patterns. Experimental results show that SpADe is an effective distance measure for time series and achieves high accuracy and efficiency for continuous pattern detection in streaming data.