Socket
Socket
Sign inDemoInstall

@otovo/react-google-solar-api

Package Overview
Dependencies
Maintainers
8
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@otovo/react-google-solar-api

This repository contains a react implementation using Cesium. It will only work in Otovo context.


Version published
Weekly downloads
0
Maintainers
8
Weekly downloads
 
Created
Source

React Google Solar API

This repository contains a react implementation using Cesium. It will only work in Otovo context.

Installation

Install packages and run

Install yarn if not installed yet. Enter the root folder and run yarn.

  yarn

Local development

To run the local server:

  yarn dev

Publishing the package

To make the package ready for publishing, you first have to run

  yarn build

This creates css and build files in the dist folder, which you export as a package.

Locally

To check the implementations locally you can use yalc.

To publish the package with yalc use this command.

yalc publish

In the project you want to test it, you can do that with the command

yalc add @otovo/react-google-solar-api@x.x.x

Where the @x.x.x is the version number specified in package.json.

Remember to remove the yalc configuration in the other package after local testing.

yalc remove @otovo/react-google-solar-api@x.x.x

Via NPM

To properly publish a new version use npm. Make sure you have an Otovo account.

npm publish

Deep dive

Cesium

Cesium is a geospatial platform for 3D maps. We are using Cesium ion and their javascript package.

Cesium ion is a SaaS platform for creating and hosting geospatial data. Based on geotiff files it will create "assets" that is accessible via their javascript package. This means that Cesium handles a lot of the heavy lifting for us so that we don't have to create the 3D rasters ourself.

FAQs

Package last updated on 04 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc