Qibla direction
ti_qiblaCalculate qibla bearing and distance from true north for an Iranian city from its coordinates, so you can orient prayer spaces accurately.
Instructions
Get the qibla direction (bearing to the Kaaba in Mecca, degrees clockwise from true north) and distance for an Iranian city.
Computed from the city's coordinates (great circle), not by Time.ir. Bearing is from true north.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name (Persian), e.g. 'شیراز', or city id (then `province` is needed). | |
| province | No | Province name or id; needed unless `city` is a provincial capital. |