
Finding the Qibla to the Kaaba in Mecca
The qibla (Arabic: قِبْلَة, lit. 'direction') is the direction towards the Kaaba in the Sacred Mosque in Mecca, which is used by Muslims in various religious contexts, particularly the direction of prayer for the salah. The most common technical definition used by Muslim astronomers is the direction on the great circle in the Earth’s Sphere passing through the actual location and the Kaaba, giving the direction of the shortest possible path between the two.
To implement this in tyckr, the Navigation Provider is used, which calculates various navigation data between two GPS coordinates, including the direction in degree.
Behind the Scenes
The Navigation Provider calculates the distance and bearing between two points on a sphere given their longitudes and latitudes by using the haversine formula. As the coordinates are referring to true north, the bearing needs to be converted to magnetic north to get the accurate direction. This is done by using the WMM2025 model, which provides the magnetic declination for a given location and time.
Creating the Face
Video is coming up soon. Stay tuned!
You can find the Qibla Finder face in the shared faces, its share code is XXXXXX
.