Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.36 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.36 KB

Below is a revised version of your README.md file for your GitHub project:


Solar_API_Library

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.

How to Use

Follow these steps to set up the Solar API Library in your project:

  1. Installation:

    • Clone the repository or download the files into your home directory.
  2. Library Location:

    • The main library files are located under components/gc_solar_api_library.
  3. HTML File:

    • The entry HTML file is index.php. You can find it in the root directory.
  4. 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.

Video Help

For additional assistance, refer to our how-to video:

Required Frameworks

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.