react-globe.gl 2.25.0 → 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 +4 -2
- package/dist/react-globe.gl.d.ts +2 -0
- package/dist/react-globe.gl.js +56 -24
- package/dist/react-globe.gl.js.map +1 -1
- package/dist/react-globe.gl.min.js +2 -2
- package/dist/react-globe.gl.mjs +2 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -238,8 +238,8 @@ ReactDOM.render(
|
|
|
238
238
|
| <b>heatmapBandwidth</b> | <i>number</i>, <i>string</i> or <i>func</i> | 4 | Heatmap object accessor function, attribute or a numeric constant for the heatmap bandwidth, in angular degrees. The bandwidth is an internal parameter of the [Gaussian kernel function](https://en.wikipedia.org/wiki/Gaussian_function) and defines how localized is the influence of a point on distant locations. A narrow bandwidth leads to a more spiky representation, while a broad one has smoother curves. |
|
|
239
239
|
| <b>heatmapColorFn</b> | <i>string</i> or <i>func</i> | [Turbo colormap](https://blog.research.google/2019/08/turbo-improved-rainbow-colormap-for.html) interpolator with fading opacity | Heatmap object accessor function or attribute for the color interpolator function to represent density in the heatmap. This function should receive a number between `0` and `1` (or potentially higher if saturation > 1), and return a color string. |
|
|
240
240
|
| <b>heatmapColorSaturation</b> | <i>number</i>, <i>string</i> or <i>func</i> | 1.5 | Heatmap object accessor function, attribute or a numeric constant for the color scale saturation. The saturation is a multiplier of the normalized density value (`[0,1]`) before passing it to the color interpolation function. It can be used to dampen outlier peaks in density and bring the data floor into view. |
|
|
241
|
-
| <b>heatmapBaseAltitude</b> | <i>number</i>, <i>string</i> or <i>func</i> | 0.01 | Heatmap
|
|
242
|
-
| <b>heatmapTopAltitude</b> | <i>number</i>, <i>string</i> or <i>func</i> | - | Heatmap
|
|
241
|
+
| <b>heatmapBaseAltitude</b> | <i>number</i>, <i>string</i> or <i>func</i> | 0.01 | Heatmap object accessor function, attribute or a numeric constant for the heatmap base floor altitude in terms of globe radius units (`0` = 0 altitude, `1` = globe radius). |
|
|
242
|
+
| <b>heatmapTopAltitude</b> | <i>number</i>, <i>string</i> or <i>func</i> | - | Heatmap object accessor function, attribute or a numeric constant for the heatmap top peak altitude in terms of globe radius units (`0` = 0 altitude, `1` = globe radius). An equal value to the base altitude will yield a surface flat heatmap. If a top altitude is set, the variations in density will be used to define the altitude curves between base and top. |
|
|
243
243
|
| <b>heatmapsTransitionDuration</b> | <i>number</i> | 0 | Duration (ms) of the transition to animate heatmap changes. A value of `0` will set the heatmap colors/altitudes immediately in their final position. New heatmaps are animated by rising them from the ground up and gently fading in through the color scale. |
|
|
244
244
|
| <b>onHeatmapClick</b> | <i>func</i> | - | Callback function for heatmap (left-button) clicks. The heatmap object, the event object and the clicked coordinates are included as arguments: `onHeatmapClick(heatmap, event, { lat, lng, altitude })`. |
|
|
245
245
|
| <b>onHeatmapRightClick</b> | <i>func</i> | - | Callback function for heatmap right-clicks. The heatmap object, the event object and the clicked coordinates are included as arguments: `onHeatmapRightClick(heatmap, event, { lat, lng, altitude })`. |
|
|
@@ -285,7 +285,9 @@ ReactDOM.render(
|
|
|
285
285
|
| <b>hexPolygonAltitude</b> | <i>number</i>, <i>string</i> or <i>func</i> | 0.001 | Hexed polygon object accessor function, attribute or a numeric constant for the polygon's hexagons altitude in terms of globe radius units (`0` = 0 altitude, `1` = globe radius). |
|
|
286
286
|
| <b>hexPolygonResolution</b> | <i>number</i>, <i>string</i> or <i>func</i> | 3 | Hexed polygon object accessor function, attribute or a numeric constant for the geographic binning resolution as defined by [H3](https://uber.github.io/h3/#/documentation/core-library/resolution-table). Determines the area of the hexagons that tesselate the globe's surface. Accepts values between `0` and `15`. Level 0 partitions the earth in 122 (mostly) hexagonal cells. Each subsequent level sub-divides the previous in roughly 7 hexagons. |
|
|
287
287
|
| <b>hexPolygonMargin</b> | <i>number</i>, <i>string</i> or <i>func</i> | 0.2 | Hexed polygon object accessor function, attribute or a numeric constant for the radial margin of each hexagon. Margins above `0` will create gaps between adjacent hexagons within a polygon. The margin is specified in terms of fraction of the hexagon's surface diameter. Values below `0` or above `1` are disadvised. |
|
|
288
|
+
| <b>hexPolygonUseDots</b> | <i>bool</i>, <i>string</i> or <i>func</i> | `false` | Hexed polygon object accessor function, attribute or a boolean constant for whether to represent each polygon point as a circular dot instead of an hexagon. |
|
|
288
289
|
| <b>hexPolygonCurvatureResolution</b> | <i>number</i>, <i>string</i> or <i>func</i> | 5 | Hexed polygon object accessor function, attribute or a numeric constant for the resolution (in angular degrees) of each hexed polygon surface curvature. The finer the resolution, the more the polygon hexes are fragmented into smaller faces to approximate the spheric surface, at the cost of performance. |
|
|
290
|
+
| <b>hexPolygonDotResolution</b> | <i>number</i>, <i>string</i> or <i>func</i> | 12 | Hexed polygon object accessor function, attribute or a numeric constant for the resolution of each circular dot, expressed in how many slice segments to divide the circumference. Higher values yield smoother circles, at the cost of performance. This is only applicable in dot representation mode. |
|
|
289
291
|
| <b>hexPolygonsTransitionDuration</b> | <i>number</i> | 0 | Duration (ms) of the transition to animate hexed polygons altitude and margin changes. A value of `0` will move the hexagons immediately to their final state. New hexed polygons are animated by sizing each hexagon from `0` radius. |
|
|
290
292
|
| <b>onHexPolygonClick</b> | <i>func</i> | *-* | Callback function for hexed polygon (left-button) clicks. The polygon object, the event object and the clicked coordinates are included as arguments: `onHexPolygonClick(polygon, event, { lat, lng, altitude })`. |
|
|
291
293
|
| <b>onHexPolygonRightClick</b> | <i>func</i> | *-* | Callback function for hexed polygon right-clicks. The polygon object, the event object and the clicked coordinates are included as arguments: `onHexPolygonRightClick(polygon, event, { lat, lng, altitude })`. |
|
package/dist/react-globe.gl.d.ts
CHANGED
|
@@ -173,7 +173,9 @@ interface GlobeProps extends ConfigOptions {
|
|
|
173
173
|
hexPolygonAltitude?: ObjAccessor<number>;
|
|
174
174
|
hexPolygonResolution?: ObjAccessor<number>;
|
|
175
175
|
hexPolygonMargin?: ObjAccessor<number>;
|
|
176
|
+
hexPolygonUseDots?: ObjAccessor<boolean>;
|
|
176
177
|
hexPolygonCurvatureResolution?: ObjAccessor<number>;
|
|
178
|
+
hexPolygonDotResolution?: ObjAccessor<number>;
|
|
177
179
|
hexPolygonsTransitionDuration?: number;
|
|
178
180
|
hexPolygonLabel?: ObjAccessor<string>;
|
|
179
181
|
onHexPolygonClick?: (polygon: object, event: MouseEvent, coords: { lat: number, lng: number, altitude: number }) => void;
|
package/dist/react-globe.gl.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version 2.
|
|
1
|
+
// Version 2.26.0 react-globe.gl - https://github.com/vasturiano/react-globe.gl
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['react'], factory) :
|
|
@@ -67506,7 +67506,7 @@
|
|
|
67506
67506
|
var bwRad = bandwidth * Math.PI / 180;
|
|
67507
67507
|
return sum$1(data.map(function (d) {
|
|
67508
67508
|
var weight = weightAccessor(d);
|
|
67509
|
-
if (weight
|
|
67509
|
+
if (!weight) return 0;
|
|
67510
67510
|
var dist = geoDistance(pnt, [lngAccessor(d), latAccessor(d)]);
|
|
67511
67511
|
return gaussianKernel(dist, bwRad) * weight;
|
|
67512
67512
|
}));
|
|
@@ -67720,7 +67720,7 @@
|
|
|
67720
67720
|
kdeVals = _obj$__currentTargetD.kdeVals,
|
|
67721
67721
|
topAlt = _obj$__currentTargetD.topAlt,
|
|
67722
67722
|
saturation = _obj$__currentTargetD.saturation;
|
|
67723
|
-
var maxVal = max$1(kdeVals) || 1e-15;
|
|
67723
|
+
var maxVal = max$1(kdeVals.map(Math.abs)) || 1e-15;
|
|
67724
67724
|
|
|
67725
67725
|
// Set vertex colors
|
|
67726
67726
|
obj.geometry.setAttribute('color', array2BufferAttr(
|
|
@@ -67735,7 +67735,7 @@
|
|
|
67735
67735
|
var _vertexGeoCoords$idx = _slicedToArray$1(vertexGeoCoords[idx], 2),
|
|
67736
67736
|
lng = _vertexGeoCoords$idx[0],
|
|
67737
67737
|
lat = _vertexGeoCoords$idx[1];
|
|
67738
|
-
var alt = altScale(val);
|
|
67738
|
+
var alt = altScale(Math.abs(val));
|
|
67739
67739
|
var p = polar2Cartesian(lat, lng, alt);
|
|
67740
67740
|
return [p.x, p.y, p.z];
|
|
67741
67741
|
}), 3));
|
|
@@ -67992,9 +67992,11 @@
|
|
|
67992
67992
|
var THREE$9 = window.THREE ? window.THREE // Prefer consumption from global THREE, if exists
|
|
67993
67993
|
: {
|
|
67994
67994
|
BufferGeometry: BufferGeometry,
|
|
67995
|
+
CircleGeometry: CircleGeometry,
|
|
67995
67996
|
DoubleSide: DoubleSide,
|
|
67996
67997
|
Mesh: Mesh,
|
|
67997
|
-
MeshLambertMaterial: MeshLambertMaterial
|
|
67998
|
+
MeshLambertMaterial: MeshLambertMaterial,
|
|
67999
|
+
Vector3: Vector3
|
|
67998
68000
|
};
|
|
67999
68001
|
var bfg = Object.assign({}, _bfg);
|
|
68000
68002
|
var BufferGeometryUtils = bfg.BufferGeometryUtils || bfg;
|
|
@@ -68026,10 +68028,18 @@
|
|
|
68026
68028
|
"default": 0.2
|
|
68027
68029
|
},
|
|
68028
68030
|
// in fraction of hex diameter
|
|
68031
|
+
hexPolygonUseDots: {
|
|
68032
|
+
"default": false
|
|
68033
|
+
},
|
|
68034
|
+
// if points should be circular instead of hexagonal
|
|
68029
68035
|
hexPolygonCurvatureResolution: {
|
|
68030
68036
|
"default": 5
|
|
68031
68037
|
},
|
|
68032
|
-
// in angular degrees
|
|
68038
|
+
// in angular degrees, only relevant for hex tops
|
|
68039
|
+
hexPolygonDotResolution: {
|
|
68040
|
+
"default": 12
|
|
68041
|
+
},
|
|
68042
|
+
// how many slice segments in the dot circle's circumference
|
|
68033
68043
|
hexPolygonsTransitionDuration: {
|
|
68034
68044
|
"default": 0,
|
|
68035
68045
|
triggerUpdate: false
|
|
@@ -68049,7 +68059,9 @@
|
|
|
68049
68059
|
var altitudeAccessor = index$1(state.hexPolygonAltitude);
|
|
68050
68060
|
var resolutionAccessor = index$1(state.hexPolygonResolution);
|
|
68051
68061
|
var marginAccessor = index$1(state.hexPolygonMargin);
|
|
68062
|
+
var useDotsAccessor = index$1(state.hexPolygonUseDots);
|
|
68052
68063
|
var curvatureResolutionAccessor = index$1(state.hexPolygonCurvatureResolution);
|
|
68064
|
+
var dotResolutionAccessor = index$1(state.hexPolygonDotResolution);
|
|
68053
68065
|
threeDigest(state.hexPolygonsData, state.scene, {
|
|
68054
68066
|
createObj: function createObj(d) {
|
|
68055
68067
|
var obj = new THREE$9.Mesh(undefined, new THREE$9.MeshLambertMaterial({
|
|
@@ -68064,7 +68076,9 @@
|
|
|
68064
68076
|
var h3Res = resolutionAccessor(d);
|
|
68065
68077
|
var alt = altitudeAccessor(d);
|
|
68066
68078
|
var margin = Math.max(0, Math.min(1, +marginAccessor(d)));
|
|
68079
|
+
var useDots = useDotsAccessor(d);
|
|
68067
68080
|
var curvatureResolution = curvatureResolutionAccessor(d);
|
|
68081
|
+
var dotResolution = dotResolutionAccessor(d);
|
|
68068
68082
|
|
|
68069
68083
|
// update material
|
|
68070
68084
|
var color = colorAccessor(d);
|
|
@@ -68131,25 +68145,37 @@
|
|
|
68131
68145
|
curvatureResolution = _obj$__currentTargetD.curvatureResolution;
|
|
68132
68146
|
obj.geometry && obj.geometry.dispose();
|
|
68133
68147
|
obj.geometry = !hexBins.length ? new THREE$9.BufferGeometry() : (BufferGeometryUtils.mergeGeometries || BufferGeometryUtils.mergeBufferGeometries)(hexBins.map(function (h) {
|
|
68134
|
-
// compute new geojson with relative margin
|
|
68135
|
-
var relNum = function relNum(st, end, rat) {
|
|
68136
|
-
return st - (st - end) * rat;
|
|
68137
|
-
};
|
|
68138
68148
|
var _h$hexCenter = _slicedToArray$1(h.hexCenter, 2),
|
|
68139
68149
|
clat = _h$hexCenter[0],
|
|
68140
68150
|
clng = _h$hexCenter[1];
|
|
68141
|
-
|
|
68142
|
-
var
|
|
68143
|
-
|
|
68144
|
-
|
|
68145
|
-
|
|
68146
|
-
|
|
68147
|
-
|
|
68148
|
-
|
|
68149
|
-
|
|
68151
|
+
if (useDots) {
|
|
68152
|
+
var centerPos = polar2Cartesian(clat, clng, alt);
|
|
68153
|
+
var edgePos = polar2Cartesian(h.hexGeoJson[0][1], h.hexGeoJson[0][0], alt);
|
|
68154
|
+
var r = 0.85 * (1 - margin) * new THREE$9.Vector3(centerPos.x, centerPos.y, centerPos.z).distanceTo(new THREE$9.Vector3(edgePos.x, edgePos.y, edgePos.z));
|
|
68155
|
+
var geometry = new CircleGeometry(r, dotResolution);
|
|
68156
|
+
geometry.rotateX(deg2Rad$1(-clat));
|
|
68157
|
+
geometry.rotateY(deg2Rad$1(clng));
|
|
68158
|
+
geometry.translate(centerPos.x, centerPos.y, centerPos.z);
|
|
68159
|
+
return geometry;
|
|
68160
|
+
} else {
|
|
68161
|
+
var relNum = function relNum(st, end, rat) {
|
|
68162
|
+
return st - (st - end) * rat;
|
|
68163
|
+
};
|
|
68164
|
+
|
|
68165
|
+
// compute new geojson with relative margin
|
|
68166
|
+
var _geoJson = margin === 0 ? h.hexGeoJson : h.hexGeoJson.map(function (_ref) {
|
|
68167
|
+
var _ref2 = _slicedToArray$1(_ref, 2),
|
|
68168
|
+
elng = _ref2[0],
|
|
68169
|
+
elat = _ref2[1];
|
|
68170
|
+
return [[elng, clng], [elat, clat]].map(function (_ref3) {
|
|
68171
|
+
var _ref4 = _slicedToArray$1(_ref3, 2),
|
|
68172
|
+
st = _ref4[0],
|
|
68173
|
+
end = _ref4[1];
|
|
68174
|
+
return relNum(st, end, margin);
|
|
68175
|
+
});
|
|
68150
68176
|
});
|
|
68151
|
-
|
|
68152
|
-
|
|
68177
|
+
return new ConicPolygonBufferGeometry([_geoJson], GLOBE_RADIUS, GLOBE_RADIUS * (1 + alt), false, true, false, curvatureResolution);
|
|
68178
|
+
}
|
|
68153
68179
|
}));
|
|
68154
68180
|
};
|
|
68155
68181
|
if (!state.hexPolygonsTransitionDuration || state.hexPolygonsTransitionDuration < 0) {
|
|
@@ -69418,7 +69444,7 @@
|
|
|
69418
69444
|
return _defineProperty$2({}, p, bindHeatmapsLayer.linkProp(p));
|
|
69419
69445
|
})));
|
|
69420
69446
|
var bindHexedPolygonsLayer = linkKapsule$1('hexedPolygonsLayer', HexedPolygonsLayerKapsule);
|
|
69421
|
-
var linkedHexedPolygonsLayerProps = Object.assign.apply(Object, _toConsumableArray$2(['hexPolygonsData', 'hexPolygonGeoJsonGeometry', 'hexPolygonColor', 'hexPolygonAltitude', 'hexPolygonResolution', 'hexPolygonMargin', 'hexPolygonCurvatureResolution', 'hexPolygonsTransitionDuration'].map(function (p) {
|
|
69447
|
+
var linkedHexedPolygonsLayerProps = Object.assign.apply(Object, _toConsumableArray$2(['hexPolygonsData', 'hexPolygonGeoJsonGeometry', 'hexPolygonColor', 'hexPolygonAltitude', 'hexPolygonResolution', 'hexPolygonMargin', 'hexPolygonUseDots', 'hexPolygonCurvatureResolution', 'hexPolygonDotResolution', 'hexPolygonsTransitionDuration'].map(function (p) {
|
|
69422
69448
|
return _defineProperty$2({}, p, bindHexedPolygonsLayer.linkProp(p));
|
|
69423
69449
|
})));
|
|
69424
69450
|
var bindPolygonsLayer = linkKapsule$1('polygonsLayer', PolygonsLayerKapsule);
|
|
@@ -72800,7 +72826,11 @@
|
|
|
72800
72826
|
}
|
|
72801
72827
|
|
|
72802
72828
|
function _isNativeFunction(fn) {
|
|
72803
|
-
|
|
72829
|
+
try {
|
|
72830
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
72831
|
+
} catch (e) {
|
|
72832
|
+
return typeof fn === "function";
|
|
72833
|
+
}
|
|
72804
72834
|
}
|
|
72805
72835
|
|
|
72806
72836
|
function _isNativeReflectConstruct() {
|
|
@@ -74326,7 +74356,7 @@
|
|
|
74326
74356
|
|
|
74327
74357
|
// Expose config from ThreeGlobe
|
|
74328
74358
|
var bindGlobe = linkKapsule('globe', threeGlobe);
|
|
74329
|
-
var linkedGlobeProps = Object.assign.apply(Object, _toConsumableArray(['globeImageUrl', 'bumpImageUrl', 'showGlobe', 'showGraticules', 'showAtmosphere', 'atmosphereColor', 'atmosphereAltitude', 'onGlobeReady', 'pointsData', 'pointLat', 'pointLng', 'pointColor', 'pointAltitude', 'pointRadius', 'pointResolution', 'pointsMerge', 'pointsTransitionDuration', 'arcsData', 'arcStartLat', 'arcStartLng', 'arcEndLat', 'arcEndLng', 'arcColor', 'arcAltitude', 'arcAltitudeAutoScale', 'arcStroke', 'arcCurveResolution', 'arcCircularResolution', 'arcDashLength', 'arcDashGap', 'arcDashInitialGap', 'arcDashAnimateTime', 'arcsTransitionDuration', 'polygonsData', 'polygonGeoJsonGeometry', 'polygonCapColor', 'polygonCapMaterial', 'polygonSideColor', 'polygonSideMaterial', 'polygonStrokeColor', 'polygonAltitude', 'polygonCapCurvatureResolution', 'polygonsTransitionDuration', 'pathsData', 'pathPoints', 'pathPointLat', 'pathPointLng', 'pathPointAlt', 'pathResolution', 'pathColor', 'pathStroke', 'pathDashLength', 'pathDashGap', 'pathDashInitialGap', 'pathDashAnimateTime', 'pathTransitionDuration', 'heatmapsData', 'heatmapPoints', 'heatmapPointLat', 'heatmapPointLng', 'heatmapPointWeight', 'heatmapBandwidth', 'heatmapColorFn', 'heatmapColorSaturation', 'heatmapBaseAltitude', 'heatmapTopAltitude', 'heatmapsTransitionDuration', 'hexBinPointsData', 'hexBinPointLat', 'hexBinPointLng', 'hexBinPointWeight', 'hexBinResolution', 'hexMargin', 'hexTopCurvatureResolution', 'hexTopColor', 'hexSideColor', 'hexAltitude', 'hexBinMerge', 'hexTransitionDuration', 'hexPolygonsData', 'hexPolygonGeoJsonGeometry', 'hexPolygonColor', 'hexPolygonAltitude', 'hexPolygonResolution', 'hexPolygonMargin', 'hexPolygonCurvatureResolution', 'hexPolygonsTransitionDuration', 'tilesData', 'tileLat', 'tileLng', 'tileAltitude', 'tileWidth', 'tileHeight', 'tileUseGlobeProjection', 'tileMaterial', 'tileCurvatureResolution', 'tilesTransitionDuration', 'ringsData', 'ringLat', 'ringLng', 'ringAltitude', 'ringColor', 'ringResolution', 'ringMaxRadius', 'ringPropagationSpeed', 'ringRepeatPeriod', 'labelsData', 'labelLat', 'labelLng', 'labelAltitude', 'labelRotation', 'labelText', 'labelSize', 'labelTypeFace', 'labelColor', 'labelResolution', 'labelIncludeDot', 'labelDotRadius', 'labelDotOrientation', 'labelsTransitionDuration', 'htmlElementsData', 'htmlLat', 'htmlLng', 'htmlAltitude', 'htmlElement', 'htmlTransitionDuration', 'objectsData', 'objectLat', 'objectLng', 'objectAltitude', 'objectRotation', 'objectFacesSurface', 'objectThreeObject', 'customLayerData', 'customThreeObject', 'customThreeObjectUpdate'].map(function (p) {
|
|
74359
|
+
var linkedGlobeProps = Object.assign.apply(Object, _toConsumableArray(['globeImageUrl', 'bumpImageUrl', 'showGlobe', 'showGraticules', 'showAtmosphere', 'atmosphereColor', 'atmosphereAltitude', 'onGlobeReady', 'pointsData', 'pointLat', 'pointLng', 'pointColor', 'pointAltitude', 'pointRadius', 'pointResolution', 'pointsMerge', 'pointsTransitionDuration', 'arcsData', 'arcStartLat', 'arcStartLng', 'arcEndLat', 'arcEndLng', 'arcColor', 'arcAltitude', 'arcAltitudeAutoScale', 'arcStroke', 'arcCurveResolution', 'arcCircularResolution', 'arcDashLength', 'arcDashGap', 'arcDashInitialGap', 'arcDashAnimateTime', 'arcsTransitionDuration', 'polygonsData', 'polygonGeoJsonGeometry', 'polygonCapColor', 'polygonCapMaterial', 'polygonSideColor', 'polygonSideMaterial', 'polygonStrokeColor', 'polygonAltitude', 'polygonCapCurvatureResolution', 'polygonsTransitionDuration', 'pathsData', 'pathPoints', 'pathPointLat', 'pathPointLng', 'pathPointAlt', 'pathResolution', 'pathColor', 'pathStroke', 'pathDashLength', 'pathDashGap', 'pathDashInitialGap', 'pathDashAnimateTime', 'pathTransitionDuration', 'heatmapsData', 'heatmapPoints', 'heatmapPointLat', 'heatmapPointLng', 'heatmapPointWeight', 'heatmapBandwidth', 'heatmapColorFn', 'heatmapColorSaturation', 'heatmapBaseAltitude', 'heatmapTopAltitude', 'heatmapsTransitionDuration', 'hexBinPointsData', 'hexBinPointLat', 'hexBinPointLng', 'hexBinPointWeight', 'hexBinResolution', 'hexMargin', 'hexTopCurvatureResolution', 'hexTopColor', 'hexSideColor', 'hexAltitude', 'hexBinMerge', 'hexTransitionDuration', 'hexPolygonsData', 'hexPolygonGeoJsonGeometry', 'hexPolygonColor', 'hexPolygonAltitude', 'hexPolygonResolution', 'hexPolygonMargin', 'hexPolygonUseDots', 'hexPolygonCurvatureResolution', 'hexPolygonDotResolution', 'hexPolygonsTransitionDuration', 'tilesData', 'tileLat', 'tileLng', 'tileAltitude', 'tileWidth', 'tileHeight', 'tileUseGlobeProjection', 'tileMaterial', 'tileCurvatureResolution', 'tilesTransitionDuration', 'ringsData', 'ringLat', 'ringLng', 'ringAltitude', 'ringColor', 'ringResolution', 'ringMaxRadius', 'ringPropagationSpeed', 'ringRepeatPeriod', 'labelsData', 'labelLat', 'labelLng', 'labelAltitude', 'labelRotation', 'labelText', 'labelSize', 'labelTypeFace', 'labelColor', 'labelResolution', 'labelIncludeDot', 'labelDotRadius', 'labelDotOrientation', 'labelsTransitionDuration', 'htmlElementsData', 'htmlLat', 'htmlLng', 'htmlAltitude', 'htmlElement', 'htmlTransitionDuration', 'objectsData', 'objectLat', 'objectLng', 'objectAltitude', 'objectRotation', 'objectFacesSurface', 'objectThreeObject', 'customLayerData', 'customThreeObject', 'customThreeObjectUpdate'].map(function (p) {
|
|
74330
74360
|
return _defineProperty({}, p, bindGlobe.linkProp(p));
|
|
74331
74361
|
})));
|
|
74332
74362
|
var linkedGlobeMethods = Object.assign.apply(Object, _toConsumableArray(['globeMaterial', 'getGlobeRadius', 'getCoords', 'toGeoCoords'].map(function (p) {
|
|
@@ -76035,7 +76065,9 @@
|
|
|
76035
76065
|
hexPolygonAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
76036
76066
|
hexPolygonResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
76037
76067
|
hexPolygonMargin: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
76068
|
+
hexPolygonUseDots: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.func]),
|
|
76038
76069
|
hexPolygonCurvatureResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
76070
|
+
hexPolygonDotResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
76039
76071
|
hexPolygonsTransitionDuration: PropTypes.number,
|
|
76040
76072
|
hexPolygonLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
76041
76073
|
onHexPolygonClick: PropTypes.func,
|