Buddhist Compass

While traveling in Thailand, I had an idea where I would like to know and face the direction where Bodh Gaya is similar to Qibla, and how Muslims like to face Mecca wherever they are.