The angel that told John to rise and measure the Temple was the same Mighty Angel that handed him the Little Book to eat.
And as they were both still on the earth, the Temple that John was told to measure was the Temple at Jerusalem.
This has to be the future temple that is to be built at Jerusalem. It is clear that there will be a Temple at Jerusalem during the Antichrist's rule because he will sit in it and proclaim himself God.