three-globe
Advanced tools
Comparing version 2.21.4 to 2.21.5
{ | ||
"name": "three-globe", | ||
"version": "2.21.4", | ||
"version": "2.21.5", | ||
"description": "Globe data visualization as a ThreeJS reusable 3D object", | ||
@@ -5,0 +5,0 @@ "unpkg": "dist/three-globe.min.js", |
@@ -6,3 +6,3 @@ ThreeJS Globe Visualization | ||
[![Build Size][build-size-img]][build-size-url] | ||
[![Dependencies][dependencies-img]][dependencies-url] | ||
[![NPM Downloads][npm-downloads-img]][npm-downloads-url] | ||
@@ -33,18 +33,18 @@ <p align="center"> | ||
``` | ||
```js | ||
import ThreeGlobe from 'three-globe'; | ||
``` | ||
or | ||
``` | ||
```js | ||
const ThreeGlobe = require('three-globe'); | ||
``` | ||
or even | ||
``` | ||
```html | ||
<script src="//unpkg.com/three-globe"></script> | ||
``` | ||
then | ||
``` | ||
```js | ||
const myGlobe = new ThreeGlobe() | ||
.globeImageUrl(<imageUrl>) | ||
.pointsData(<myData>); | ||
.globeImageUrl(myImageUrl) | ||
.pointsData(myData); | ||
@@ -58,3 +58,3 @@ const myScene = new THREE.Scene(); | ||
### Initialisation | ||
``` | ||
```js | ||
new ThreeGlobe({ configOptions }) | ||
@@ -252,7 +252,7 @@ ``` | ||
[npm-img]: https://img.shields.io/npm/v/three-globe.svg | ||
[npm-img]: https://img.shields.io/npm/v/three-globe | ||
[npm-url]: https://npmjs.org/package/three-globe | ||
[build-size-img]: https://img.shields.io/bundlephobia/minzip/three-globe.svg | ||
[build-size-img]: https://img.shields.io/bundlephobia/minzip/three-globe | ||
[build-size-url]: https://bundlephobia.com/result?p=three-globe | ||
[dependencies-img]: https://img.shields.io/david/vasturiano/three-globe.svg | ||
[dependencies-url]: https://david-dm.org/vasturiano/three-globe | ||
[npm-downloads-img]: https://img.shields.io/npm/dt/three-globe | ||
[npm-downloads-url]: https://www.npmtrends.com/three-globe |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
255
9388930