globe.gl 2.24.2 → 2.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,8 +3,7 @@ Globe.GL
3
3
 
4
4
  [![NPM package][npm-img]][npm-url]
5
5
  [![Build Size][build-size-img]][build-size-url]
6
- [![Dependencies][dependencies-img]][dependencies-url]
7
- [![jsdelivr][jsdelivr-img]][jsdelivr-url]
6
+ [![NPM Downloads][npm-downloads-img]][npm-downloads-url]
8
7
 
9
8
  <p align="center">
10
9
  <a href="//vasturiano.github.io/globe.gl/example/world-population/"><img width="48%" src="https://vasturiano.github.io/globe.gl/example/world-population/preview.png"></a>
@@ -50,30 +49,30 @@ And check out the [React bindings](https://github.com/vasturiano/react-globe.gl)
50
49
 
51
50
  ## Quick start
52
51
 
53
- ```
52
+ ```js
54
53
  import Globe from 'globe.gl';
55
54
  ```
56
55
  or
57
- ```
56
+ ```js
58
57
  const Globe = require('globe.gl');
59
58
  ```
60
59
  or even
61
- ```
60
+ ```html
62
61
  <script src="//unpkg.com/globe.gl"></script>
63
62
  ```
64
63
  then
65
- ```
64
+ ```js
66
65
  const myGlobe = Globe();
67
- myGlobe(<myDOMElement>)
68
- .globeImageUrl(<imageUrl>)
69
- .pointsData(<myData>);
66
+ myGlobe(myDOMElement)
67
+ .globeImageUrl(myImageUrl)
68
+ .pointsData(myData);
70
69
  ```
71
70
 
72
71
  ## API reference
73
72
 
74
73
  ### Initialisation
75
74
 
76
- ```
75
+ ```js
77
76
  Globe({ configOptions })(<domElement>)
78
77
  ```
79
78
 
@@ -368,11 +367,9 @@ Globe({ configOptions })(<domElement>)
368
367
 
369
368
  [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=L398E7PKP47E8&currency_code=USD&source=url) If this project has helped you and you'd like to contribute back, you can always [buy me a ☕](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=L398E7PKP47E8&currency_code=USD&source=url)!
370
369
 
371
- [npm-img]: https://img.shields.io/npm/v/globe.gl.svg
370
+ [npm-img]: https://img.shields.io/npm/v/globe.gl
372
371
  [npm-url]: https://npmjs.org/package/globe.gl
373
- [build-size-img]: https://img.shields.io/bundlephobia/minzip/globe.gl.svg
372
+ [build-size-img]: https://img.shields.io/bundlephobia/minzip/globe.gl
374
373
  [build-size-url]: https://bundlephobia.com/result?p=globe.gl
375
- [dependencies-img]: https://img.shields.io/david/vasturiano/globe.gl.svg
376
- [dependencies-url]: https://david-dm.org/vasturiano/globe.gl
377
- [jsdelivr-img]: https://data.jsdelivr.com/v1/package/npm/globe.gl/badge?style=rounded
378
- [jsdelivr-url]: https://www.jsdelivr.com/package/npm/globe.gl
374
+ [npm-downloads-img]: https://img.shields.io/npm/dt/globe.gl
375
+ [npm-downloads-url]: https://www.npmtrends.com/globe.gl
package/dist/globe.gl.js CHANGED
@@ -1,4 +1,4 @@
1
- // Version 2.24.2 globe.gl - https://github.com/vasturiano/globe.gl
1
+ // Version 2.24.3 globe.gl - https://github.com/vasturiano/globe.gl
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :