PrayTimes.js, by Mr. Hamid Zarrabi-Zadeh, is used to make a web page prayer times table with Map.
Google cloud API Key can be created from Google Cloud Console, after enabling billing. The key included here was used in testing and has been deleted. If you plan to use this code then you will need your own API Key. Billing needs to be enabled by Google Cloud Console, but since 2020 or before my bill has always been 0.0 dollars for this API use. I guess it is free to use.
If you need to check prayer times, then I have a page on this Github repository can help. It is also running at this link https://andromedabay.ddns.net/namaz.html. It is based on a Open Source JavaScript code published at PrayTimes.org. I would like to acknowledge the work done by the team at the original ParyTimes.Org (Mr. Hamid Zarrabi-Zadeh) website (http://www.praytimes.org), without whose work, my page would not have been possible.
The version and author name of the JavaScript file are given below:
/*
PrayTimes.js: Prayer Times Calculator (ver 2.3) Copyright (C) 2007-2011 PrayTimes.org
Developer: Hamid Zarrabi-Zadeh License: GNU LGPL v3.0
TERMS OF USE: Permission is granted to use this code, with or without modification, in any website or application provided that credit is given to the original work with a link back to PrayTimes.org.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
PLEASE DO NOT REMOVE THIS COPYRIGHT BLOCK.
*/
- If prompted allow the website to use your location.
- You can manually click on the map to pick your location. You can also zoom-in, zoom-out or pan on the map.
- You can adjust the parameters for the PrayTimes.js and click on “Save Cookie” button to save your custom settings (other than the location) on your device. The next time you reload the page or revisit, the saved settings will be automatically used. The cookies are saved for 365 days. To clear the cookies on this page click “Clear Cookie” button.