Below is a revised version of your README.md
file for your GitHub project:
This repository contains a collection of functions designed to interact with the Google Solar API using HTML and JavaScript. It's structured to help developers integrate solar data into their web projects efficiently.
Follow these steps to set up the Solar API Library in your project:
-
Installation:
- Clone the repository or download the files into your home directory.
-
Library Location:
- The main library files are located under
components/gc_solar_api_library
.
- The main library files are located under
-
HTML File:
- The entry HTML file is
index.php
. You can find it in the root directory.
- The entry HTML file is
-
Configuration:
- Navigate to
components/gc_solar_api_library/global.js
. - Insert your Google API Key where indicated.
- Set the default latitude and longitude coordinates according to your requirements.
- Navigate to
For additional assistance, refer to our how-to video:
Ensure the following frameworks are included in your project for the Solar API Library to function correctly:
- Google Maps JavaScript API: Essential for mapping functionalities.
- GeoTIFF.js: Required for handling GeoTIFF files.
- Proj4.js: Necessary for cartographic projections and transformations.