react-globe.gl 2.24.4 → 2.26.0
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 +46 -15
- package/dist/react-globe.gl.d.ts +18 -0
- package/dist/react-globe.gl.js +1843 -813
- package/dist/react-globe.gl.js.map +1 -1
- package/dist/react-globe.gl.min.js +5 -5
- package/dist/react-globe.gl.mjs +16 -0
- package/package.json +15 -15
package/dist/react-globe.gl.mjs
CHANGED
|
@@ -82,6 +82,20 @@ var GlobePropTypes = {
|
|
|
82
82
|
onPathClick: PropTypes.func,
|
|
83
83
|
onPathRightClick: PropTypes.func,
|
|
84
84
|
onPathHover: PropTypes.func,
|
|
85
|
+
heatmapsData: PropTypes.array,
|
|
86
|
+
heatmapPoints: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.func]),
|
|
87
|
+
heatmapPointLat: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
88
|
+
heatmapPointLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
89
|
+
heatmapPointWeight: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
90
|
+
heatmapBandwidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
91
|
+
heatmapColorFn: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
92
|
+
heatmapColorSaturation: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
93
|
+
heatmapBaseAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
94
|
+
heatmapTopAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
95
|
+
heatmapsTransitionDuration: PropTypes.number,
|
|
96
|
+
onHeatmapClick: PropTypes.func,
|
|
97
|
+
onHeatmapRightClick: PropTypes.func,
|
|
98
|
+
onHeatmapHover: PropTypes.func,
|
|
85
99
|
hexBinPointsData: PropTypes.arrayOf(PropTypes.object),
|
|
86
100
|
hexBinPointLat: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
87
101
|
hexBinPointLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
@@ -104,7 +118,9 @@ var GlobePropTypes = {
|
|
|
104
118
|
hexPolygonAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
105
119
|
hexPolygonResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
106
120
|
hexPolygonMargin: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
121
|
+
hexPolygonUseDots: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.func]),
|
|
107
122
|
hexPolygonCurvatureResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
123
|
+
hexPolygonDotResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
108
124
|
hexPolygonsTransitionDuration: PropTypes.number,
|
|
109
125
|
hexPolygonLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
110
126
|
onHexPolygonClick: PropTypes.func,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-globe.gl",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.0",
|
|
4
4
|
"description": "React component for Globe Data Visualization using ThreeJS/WebGL",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dist/**/*"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"globe.gl": "^2.
|
|
48
|
+
"globe.gl": "^2.31",
|
|
49
49
|
"prop-types": "15",
|
|
50
50
|
"react-kapsule": "2"
|
|
51
51
|
},
|
|
@@ -53,19 +53,19 @@
|
|
|
53
53
|
"react": "*"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/core": "^7.
|
|
57
|
-
"@babel/preset-env": "^7.
|
|
58
|
-
"@babel/preset-react": "^7.22.
|
|
59
|
-
"@rollup/plugin-babel": "^6.0.
|
|
60
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
61
|
-
"@rollup/plugin-node-resolve": "^15.2.
|
|
62
|
-
"@rollup/plugin-replace": "^5.0.
|
|
63
|
-
"@rollup/plugin-terser": "^0.4.
|
|
64
|
-
"@types/react": "^18.2.
|
|
65
|
-
"rimraf": "^5.0.
|
|
66
|
-
"rollup": "^
|
|
67
|
-
"rollup-plugin-dts": "^6.
|
|
68
|
-
"typescript": "^5.
|
|
56
|
+
"@babel/core": "^7.23.2",
|
|
57
|
+
"@babel/preset-env": "^7.23.2",
|
|
58
|
+
"@babel/preset-react": "^7.22.15",
|
|
59
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
60
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
61
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
62
|
+
"@rollup/plugin-replace": "^5.0.4",
|
|
63
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
64
|
+
"@types/react": "^18.2.28",
|
|
65
|
+
"rimraf": "^5.0.5",
|
|
66
|
+
"rollup": "^4.1.4",
|
|
67
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
68
|
+
"typescript": "^5.2.2"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=12"
|