Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@planet/react-globe

Package Overview
Dependencies
Maintainers
10
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet/react-globe - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

example/main.js

@@ -74,6 +74,6 @@ import Globe from '../src/index';

<li>
<a onClick={() => this.recenter([0, -180])}>The South Pole</a>
<a onClick={() => this.recenter([0, -90])}>The South Pole</a>
</li>
<li>
<a onClick={() => this.recenter([0, 180])}>The North Pole</a>
<a onClick={() => this.recenter([0, 90])}>The North Pole</a>
</li>

@@ -80,0 +80,0 @@ </ul>

{
"name": "@planet/react-globe",
"version": "2.0.0",
"version": "2.0.1",
"description": "A React Globe Component",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -10,6 +10,6 @@ # React Globe

* `diameter` - Diameter of the globe (in pixels). Defaults to `60`.
* `landColor` - Color of the land areas. Defaults to '#191919'.
* `markerColor` - Color of the position marker. Defaults to '#009da5'.
* `markerRadius` - Angular radius of the circular marker (in degrees). Defaults to '6'.
* `oceanColor` - Color of the oceans. Defaults to '#f2f2f2'.
* `landColor` - Color of the land areas. Defaults to `'#191919'`.
* `markerColor` - Color of the position marker. Defaults to `'#009da5'`.
* `markerRadius` - Angular radius of the circular marker (in degrees). Defaults to `'6'`.
* `oceanColor` - Color of the oceans. Defaults to `'#f2f2f2'`.
* `rotationTime` - Duration of animation for rotation (in milliseconds). Defaults to `1000`.

@@ -22,1 +22,2 @@

```
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