Since it is an indirect speech, shouldn't we place a period instead of the question mark?Would you tell me how to get to the supermarket?
Isn't it like saying:
Would you tell me the way to the supermarket.
I was in doubt. Thank you.