where 代 in front of the market
表示地点.
用还原法:The road accident happened in front of the market yesterday.